Interface UpdateGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>,DirectoryServiceDataRequest.Builder,SdkBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateGroupRequest
public static interface UpdateGroupRequest.Builder extends DirectoryServiceDataRequest.Builder, SdkPojo, CopyableBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateGroupRequest.BuilderclientToken(String clientToken)A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.UpdateGroupRequest.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory that's associated with the group.UpdateGroupRequest.BuildergroupScope(String groupScope)The scope of the AD group.UpdateGroupRequest.BuildergroupScope(GroupScope groupScope)The scope of the AD group.UpdateGroupRequest.BuildergroupType(String groupType)The AD group type.UpdateGroupRequest.BuildergroupType(GroupType groupType)The AD group type.UpdateGroupRequest.BuilderotherAttributes(Map<String,AttributeValue> otherAttributes)An expression that defines one or more attributes with the data type and the value of each attribute.UpdateGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateGroupRequest.BuildersamAccountName(String samAccountName)The name of the group.UpdateGroupRequest.BuilderupdateType(String updateType)The type of update to be performed.UpdateGroupRequest.BuilderupdateType(UpdateType updateType)The type of update to be performed.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directoryservicedata.model.DirectoryServiceDataRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clientToken
UpdateGroupRequest.Builder clientToken(String clientToken)
A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an
ConflictException.This parameter is optional when using the CLI or SDK.
- Parameters:
clientToken- A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an
ConflictException.This parameter is optional when using the CLI or SDK.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
UpdateGroupRequest.Builder directoryId(String directoryId)
The identifier (ID) of the directory that's associated with the group.
- Parameters:
directoryId- The identifier (ID) of the directory that's associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupScope
UpdateGroupRequest.Builder groupScope(String groupScope)
The scope of the AD group. For details, see Active Directory security groups.
- Parameters:
groupScope- The scope of the AD group. For details, see Active Directory security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupScope,GroupScope
-
groupScope
UpdateGroupRequest.Builder groupScope(GroupScope groupScope)
The scope of the AD group. For details, see Active Directory security groups.
- Parameters:
groupScope- The scope of the AD group. For details, see Active Directory security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupScope,GroupScope
-
groupType
UpdateGroupRequest.Builder groupType(String groupType)
The AD group type. For details, see Active Directory security group type.
- Parameters:
groupType- The AD group type. For details, see Active Directory security group type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupType,GroupType
-
groupType
UpdateGroupRequest.Builder groupType(GroupType groupType)
The AD group type. For details, see Active Directory security group type.
- Parameters:
groupType- The AD group type. For details, see Active Directory security group type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GroupType,GroupType
-
otherAttributes
UpdateGroupRequest.Builder otherAttributes(Map<String,AttributeValue> otherAttributes)
An expression that defines one or more attributes with the data type and the value of each attribute.
- Parameters:
otherAttributes- An expression that defines one or more attributes with the data type and the value of each attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samAccountName
UpdateGroupRequest.Builder samAccountName(String samAccountName)
The name of the group.
- Parameters:
samAccountName- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
UpdateGroupRequest.Builder updateType(String updateType)
The type of update to be performed. If no value exists for the attribute, use
ADD. Otherwise, useREPLACEto change an attribute value orREMOVEto clear the attribute value.- Parameters:
updateType- The type of update to be performed. If no value exists for the attribute, useADD. Otherwise, useREPLACEto change an attribute value orREMOVEto clear the attribute value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateType,UpdateType
-
updateType
UpdateGroupRequest.Builder updateType(UpdateType updateType)
The type of update to be performed. If no value exists for the attribute, use
ADD. Otherwise, useREPLACEto change an attribute value orREMOVEto clear the attribute value.- Parameters:
updateType- The type of update to be performed. If no value exists for the attribute, useADD. Otherwise, useREPLACEto change an attribute value orREMOVEto clear the attribute value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UpdateType,UpdateType
-
overrideConfiguration
UpdateGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-