Interface CreateDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<CreateDomainRequest.Builder,,CreateDomainRequest> SdkBuilder<CreateDomainRequest.Builder,,CreateDomainRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Idempotency token for safe retries.default CreateDomainRequest.BuilderidentityProviderConfiguration(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 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 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 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
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
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.
-
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
CreateDomainRequest.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 CreateDomainRequest.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:
-
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
CreateDomainRequest.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
CreateDomainRequest.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.
-