Interface CreateDomainForOrganizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<CreateDomainForOrganizationRequest.Builder,,CreateDomainForOrganizationRequest> SdkBuilder<CreateDomainForOrganizationRequest.Builder,,CreateDomainForOrganizationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDomainForOrganizationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Idempotency token for safe retries.domainAccessRoleArn(String domainAccessRoleArn) The ARN of an IAM role in the management account used for domain access.identityProviderConfiguration(Consumer<IdentityProviderConfiguration.Builder> identityProviderConfiguration) Identity provider configuration for the domain.identityProviderConfiguration(IdentityProviderConfiguration identityProviderConfiguration) Identity provider configuration for the domain.identityProviders(Collection<IdentityProvider> identityProviders) The identity providers to configure for the domain.identityProviders(IdentityProvider... identityProviders) The identity providers to configure for the domain.identityProvidersWithStrings(String... identityProviders) The identity providers to configure for the domain.identityProvidersWithStrings(Collection<String> identityProviders) The identity providers to configure for the domain.A name that identifies the organization domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The tags to associate with the domain.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A name that identifies the organization domain. Must be 3-63 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.
- Parameters:
name- A name that identifies the organization domain. Must be 3-63 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvidersWithStrings
CreateDomainForOrganizationRequest.Builder identityProvidersWithStrings(Collection<String> identityProviders) The identity providers to configure for the domain.
- Parameters:
identityProviders- The identity providers to configure for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProvidersWithStrings
CreateDomainForOrganizationRequest.Builder identityProvidersWithStrings(String... identityProviders) The identity providers to configure for the domain.
- Parameters:
identityProviders- The identity providers to configure for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviders
CreateDomainForOrganizationRequest.Builder identityProviders(Collection<IdentityProvider> identityProviders) The identity providers to configure for the domain.
- Parameters:
identityProviders- The identity providers to configure for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviders
The identity providers to configure for the domain.
- Parameters:
identityProviders- The identity providers to configure for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviderConfiguration
CreateDomainForOrganizationRequest.Builder identityProviderConfiguration(IdentityProviderConfiguration identityProviderConfiguration) Identity provider configuration for the domain.
- Parameters:
identityProviderConfiguration- Identity provider configuration for the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityProviderConfiguration
default CreateDomainForOrganizationRequest.Builder identityProviderConfiguration(Consumer<IdentityProviderConfiguration.Builder> identityProviderConfiguration) Identity provider configuration for the domain.
This is a convenience method that creates an instance of theIdentityProviderConfiguration.Builderavoiding the need to create one manually viaIdentityProviderConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityProviderConfiguration(IdentityProviderConfiguration).- Parameters:
identityProviderConfiguration- a consumer that will call methods onIdentityProviderConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainAccessRoleArn
The ARN of an IAM role in the management account used for domain access. You must create this role, and its trust policy must allow the service principal to assume it.
- Parameters:
domainAccessRoleArn- The ARN of an IAM role in the management account used for domain access. You must create this role, and its trust policy must allow the service principal to assume it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the domain.
- Parameters:
tags- The tags to associate with the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.
- Parameters:
clientToken- Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDomainForOrganizationRequest.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
CreateDomainForOrganizationRequest.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.
-