/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.kendra.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribePrincipalMappingResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

*/ private String indexId; /** *

* Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

*/ private String dataSourceId; /** *

* Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

*/ private String groupId; /** *

* Shows the following information on the processing of PUT and DELETE actions for mapping * users to their groups: *

* */ private java.util.List groupOrderingIdSummaries; /** *

* Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param indexId * Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public void setIndexId(String indexId) { this.indexId = indexId; } /** *

* Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @return Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public String getIndexId() { return this.indexId; } /** *

* Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param indexId * Shows the identifier of the index to see information on the processing of PUT and * DELETE actions for mapping users to their groups. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePrincipalMappingResult withIndexId(String indexId) { setIndexId(indexId); return this; } /** *

* Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param dataSourceId * Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public void setDataSourceId(String dataSourceId) { this.dataSourceId = dataSourceId; } /** *

* Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @return Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public String getDataSourceId() { return this.dataSourceId; } /** *

* Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param dataSourceId * Shows the identifier of the data source to see information on the processing of PUT and * DELETE actions for mapping users to their groups. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePrincipalMappingResult withDataSourceId(String dataSourceId) { setDataSourceId(dataSourceId); return this; } /** *

* Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param groupId * Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public void setGroupId(String groupId) { this.groupId = groupId; } /** *

* Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @return Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. */ public String getGroupId() { return this.groupId; } /** *

* Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. *

* * @param groupId * Shows the identifier of the group to see information on the processing of PUT and * DELETE actions for mapping users to their groups. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePrincipalMappingResult withGroupId(String groupId) { setGroupId(groupId); return this; } /** *

* Shows the following information on the processing of PUT and DELETE actions for mapping * users to their groups: *

* * * @return Shows the following information on the processing of PUT and DELETE actions for * mapping users to their groups:

*