@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutGroupRequest() |
Modifier and Type | Method and Description |
---|---|
PutGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationId()
The identifier of the application in which the user and group mapping belongs.
|
String |
getDataSourceId()
The identifier of the data source for which you want to map users to their groups.
|
GroupMembers |
getGroupMembers() |
String |
getGroupName()
The list that contains your users or sub groups that belong the same group.
|
String |
getIndexId()
The identifier of the index in which you want to map users to their groups.
|
String |
getType()
The type of the group.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The identifier of the application in which the user and group mapping belongs.
|
void |
setDataSourceId(String dataSourceId)
The identifier of the data source for which you want to map users to their groups.
|
void |
setGroupMembers(GroupMembers groupMembers) |
void |
setGroupName(String groupName)
The list that contains your users or sub groups that belong the same group.
|
void |
setIndexId(String indexId)
The identifier of the index in which you want to map users to their groups.
|
void |
setType(String type)
The type of the group.
|
String |
toString()
Returns a string representation of this object.
|
PutGroupRequest |
withApplicationId(String applicationId)
The identifier of the application in which the user and group mapping belongs.
|
PutGroupRequest |
withDataSourceId(String dataSourceId)
The identifier of the data source for which you want to map users to their groups.
|
PutGroupRequest |
withGroupMembers(GroupMembers groupMembers) |
PutGroupRequest |
withGroupName(String groupName)
The list that contains your users or sub groups that belong the same group.
|
PutGroupRequest |
withIndexId(String indexId)
The identifier of the index in which you want to map users to their groups.
|
PutGroupRequest |
withType(MembershipType type)
The type of the group.
|
PutGroupRequest |
withType(String type)
The type of the group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApplicationId(String applicationId)
The identifier of the application in which the user and group mapping belongs.
applicationId
- The identifier of the application in which the user and group mapping belongs.public String getApplicationId()
The identifier of the application in which the user and group mapping belongs.
public PutGroupRequest withApplicationId(String applicationId)
The identifier of the application in which the user and group mapping belongs.
applicationId
- The identifier of the application in which the user and group mapping belongs.public void setIndexId(String indexId)
The identifier of the index in which you want to map users to their groups.
indexId
- The identifier of the index in which you want to map users to their groups.public String getIndexId()
The identifier of the index in which you want to map users to their groups.
public PutGroupRequest withIndexId(String indexId)
The identifier of the index in which you want to map users to their groups.
indexId
- The identifier of the index in which you want to map users to their groups.public void setGroupName(String groupName)
The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
groupName
- The list that contains your users or sub groups that belong the same group. For example, the group
"Company" includes the user "CEO" and the sub groups "Research", "Engineering", and
"Sales and Marketing".
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
public String getGroupName()
The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
public PutGroupRequest withGroupName(String groupName)
The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing".
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
groupName
- The list that contains your users or sub groups that belong the same group. For example, the group
"Company" includes the user "CEO" and the sub groups "Research", "Engineering", and
"Sales and Marketing".
If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
public void setDataSourceId(String dataSourceId)
The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.
dataSourceId
- The identifier of the data source for which you want to map users to their groups. This is useful if a
group is tied to multiple data sources, but you only want the group to access documents of a certain data
source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the
company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing"
team only needs access to customer-related documents stored in Salesforce.public String getDataSourceId()
The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.
public PutGroupRequest withDataSourceId(String dataSourceId)
The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.
dataSourceId
- The identifier of the data source for which you want to map users to their groups. This is useful if a
group is tied to multiple data sources, but you only want the group to access documents of a certain data
source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the
company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing"
team only needs access to customer-related documents stored in Salesforce.public void setType(String type)
The type of the group.
type
- The type of the group.MembershipType
public String getType()
The type of the group.
MembershipType
public PutGroupRequest withType(String type)
The type of the group.
type
- The type of the group.MembershipType
public PutGroupRequest withType(MembershipType type)
The type of the group.
type
- The type of the group.MembershipType
public void setGroupMembers(GroupMembers groupMembers)
groupMembers
- public GroupMembers getGroupMembers()
public PutGroupRequest withGroupMembers(GroupMembers groupMembers)
groupMembers
- public String toString()
toString
in class Object
Object.toString()
public PutGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()