Interface AddGroupMemberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddGroupMemberRequest.Builder,,AddGroupMemberRequest> DirectoryServiceDataRequest.Builder,SdkBuilder<AddGroupMemberRequest.Builder,,AddGroupMemberRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddGroupMemberRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(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.directoryId(String directoryId) The identifier (ID) of the directory that's associated with the group.The name of the group.memberName(String memberName) TheSAMAccountNameof the user, group, or computer to add as a group member.memberRealm(String memberRealm) The domain name that's associated with the group member.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directoryservicedata.model.DirectoryServiceDataRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.
-
groupName
The name of the group.
- Parameters:
groupName- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberName
The
SAMAccountNameof the user, group, or computer to add as a group member.- Parameters:
memberName- TheSAMAccountNameof the user, group, or computer to add as a group member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberRealm
The domain name that's associated with the group member. This parameter is required only when adding a member outside of your Managed Microsoft AD domain to a group inside of your Managed Microsoft AD domain. This parameter defaults to the Managed Microsoft AD domain.
This parameter is case insensitive.
- Parameters:
memberRealm- The domain name that's associated with the group member. This parameter is required only when adding a member outside of your Managed Microsoft AD domain to a group inside of your Managed Microsoft AD domain. This parameter defaults to the Managed Microsoft AD domain.This parameter is case insensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddGroupMemberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddGroupMemberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-