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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-