Interface CreateDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectHealthRequest.Builder,CopyableBuilder<CreateDomainRequest.Builder,,CreateDomainRequest> SdkBuilder<CreateDomainRequest.Builder,,CreateDomainRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDomainRequest
@Mutable
@NotThreadSafe
public static interface CreateDomainRequest.Builder
extends ConnectHealthRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainRequest.Builder,CreateDomainRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the KMS key to use for encrypting data in this Domain.The name for the new Domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to associate with the Domain.default CreateDomainRequest.BuilderwebAppSetupConfiguration(Consumer<CreateWebAppConfiguration.Builder> webAppSetupConfiguration) Configuration for the Domain web application.webAppSetupConfiguration(CreateWebAppConfiguration webAppSetupConfiguration) Configuration for the Domain web application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connecthealth.model.ConnectHealthRequest.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
The name for the new Domain.
- Parameters:
name- The name for the new Domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The ARN of the KMS key to use for encrypting data in this Domain.
- Parameters:
kmsKeyArn- The ARN of the KMS key to use for encrypting data in this Domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webAppSetupConfiguration
CreateDomainRequest.Builder webAppSetupConfiguration(CreateWebAppConfiguration webAppSetupConfiguration) Configuration for the Domain web application. Optional, but if provided all fields are required.
- Parameters:
webAppSetupConfiguration- Configuration for the Domain web application. Optional, but if provided all fields are required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webAppSetupConfiguration
default CreateDomainRequest.Builder webAppSetupConfiguration(Consumer<CreateWebAppConfiguration.Builder> webAppSetupConfiguration) Configuration for the Domain web application. Optional, but if provided all fields are required.
This is a convenience method that creates an instance of theCreateWebAppConfiguration.Builderavoiding the need to create one manually viaCreateWebAppConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebAppSetupConfiguration(CreateWebAppConfiguration).- Parameters:
webAppSetupConfiguration- a consumer that will call methods onCreateWebAppConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to associate with the Domain.
- Parameters:
tags- Tags to associate with the Domain.- 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.
-