Interface DeleteOrganizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteOrganizationRequest.Builder,
,DeleteOrganizationRequest> SdkBuilder<DeleteOrganizationRequest.Builder,
,DeleteOrganizationRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
DeleteOrganizationRequest
public static interface DeleteOrganizationRequest.Builder
extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<DeleteOrganizationRequest.Builder,DeleteOrganizationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The idempotency token associated with the request.deleteDirectory
(Boolean deleteDirectory) If true, deletes the AWS Directory Service directory associated with the organization.forceDelete
(Boolean forceDelete) Deletes a WorkMail organization even if the organization has enabled users.organizationId
(String organizationId) The organization ID.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
Method Details
-
clientToken
The idempotency token associated with the request.
- Parameters:
clientToken
- The idempotency token associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationId
The organization ID.
- Parameters:
organizationId
- The organization ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteDirectory
If true, deletes the AWS Directory Service directory associated with the organization.
- Parameters:
deleteDirectory
- If true, deletes the AWS Directory Service directory associated with the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forceDelete
Deletes a WorkMail organization even if the organization has enabled users.
- Parameters:
forceDelete
- Deletes a WorkMail organization even if the organization has enabled users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteOrganizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteOrganizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-