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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateOrganizationRequest.Builderalias(String alias)The organization alias.CreateOrganizationRequest.BuilderclientToken(String clientToken)The idempotency token associated with the request.CreateOrganizationRequest.BuilderdirectoryId(String directoryId)The AWS Directory Service directory ID.CreateOrganizationRequest.Builderdomains(Collection<Domain> domains)The email domains to associate with the organization.CreateOrganizationRequest.Builderdomains(Consumer<Domain.Builder>... domains)The email domains to associate with the organization.CreateOrganizationRequest.Builderdomains(Domain... domains)The email domains to associate with the organization.CreateOrganizationRequest.BuilderenableInteroperability(Boolean enableInteroperability)Whentrue, allows organization interoperability between WorkMail and Microsoft Exchange.CreateOrganizationRequest.BuilderkmsKeyArn(String kmsKeyArn)The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.CreateOrganizationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateOrganizationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
directoryId
CreateOrganizationRequest.Builder directoryId(String 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
CreateOrganizationRequest.Builder alias(String 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
CreateOrganizationRequest.Builder clientToken(String 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
CreateOrganizationRequest.Builder domains(Collection<Domain> 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
CreateOrganizationRequest.Builder domains(Domain... 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
CreateOrganizationRequest.Builder domains(Consumer<Domain.Builder>... 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 to#domains(List.) - 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:
#domains(java.util.Collection)
-
kmsKeyArn
CreateOrganizationRequest.Builder kmsKeyArn(String 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
CreateOrganizationRequest.Builder enableInteroperability(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateOrganizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-