Interface DisableUserRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DisableUserRequest.Builder,DisableUserRequest>,DirectoryServiceDataRequest.Builder,SdkBuilder<DisableUserRequest.Builder,DisableUserRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DisableUserRequest
public static interface DisableUserRequest.Builder extends DirectoryServiceDataRequest.Builder, SdkPojo, CopyableBuilder<DisableUserRequest.Builder,DisableUserRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisableUserRequest.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.DisableUserRequest.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory that's associated with the user.DisableUserRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DisableUserRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DisableUserRequest.BuildersamAccountName(String samAccountName)The name of the user.-
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
DisableUserRequest.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
DisableUserRequest.Builder directoryId(String directoryId)
The identifier (ID) of the directory that's associated with the user.
- Parameters:
directoryId- The identifier (ID) of the directory that's associated with the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samAccountName
DisableUserRequest.Builder samAccountName(String samAccountName)
The name of the user.
- Parameters:
samAccountName- The name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DisableUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DisableUserRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-