Interface CreateOrganizationRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<CreateOrganizationRequest.Builder,,CreateOrganizationRequest> SdkBuilder<CreateOrganizationRequest.Builder,,CreateOrganizationRequest> SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
 CreateOrganizationRequest
public static interface CreateOrganizationRequest.Builder
extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<CreateOrganizationRequest.Builder,CreateOrganizationRequest> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe organization alias.clientToken(String clientToken) The idempotency token associated with the request.directoryId(String directoryId) The AWS Directory Service directory ID.domains(Collection<Domain> domains) The email domains to associate with the organization.domains(Consumer<Domain.Builder>... domains) The email domains to associate with the organization.The email domains to associate with the organization.enableInteroperability(Boolean enableInteroperability) Whentrue, allows organization interoperability between WorkMail and Microsoft Exchange.The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.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
- 
directoryId
The AWS Directory Service directory ID.
- Parameters:
 directoryId- The AWS Directory Service directory ID.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
alias
The organization alias.
- Parameters:
 alias- The organization alias.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
 
 - 
domains
The email domains to associate with the organization.
- Parameters:
 domains- The email domains to associate with the organization.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
domains
The email domains to associate with the organization.
- Parameters:
 domains- The email domains to associate with the organization.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
domains
The email domains to associate with the organization.
This is a convenience method that creates an instance of theDomain.Builderavoiding the need to create one manually viaDomain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomains(List<Domain>).- Parameters:
 domains- a consumer that will call methods onDomain.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
kmsKeyArn
The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.
- Parameters:
 kmsKeyArn- The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
enableInteroperability
When
true, allows organization interoperability between WorkMail and Microsoft Exchange. Iftrue, you must include a AD Connector directory ID in the request.- Parameters:
 enableInteroperability- Whentrue, allows organization interoperability between WorkMail and Microsoft Exchange. Iftrue, you must include a AD Connector directory ID in the request.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
overrideConfiguration
CreateOrganizationRequest.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
CreateOrganizationRequest.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.
 
 
 -