Interface CreateDomainAssociationRequest.Builder
- All Superinterfaces:
AmplifyRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateDomainAssociationRequest.Builder,,CreateDomainAssociationRequest> SdkBuilder<CreateDomainAssociationRequest.Builder,,CreateDomainAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDomainAssociationRequest
public static interface CreateDomainAssociationRequest.Builder
extends AmplifyRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainAssociationRequest.Builder,CreateDomainAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for an Amplify app.autoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.autoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.autoSubDomainIAMRole(String autoSubDomainIAMRole) The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.domainName(String domainName) The domain name for the domain association.enableAutoSubDomain(Boolean enableAutoSubDomain) Enables the automated creation of subdomains for branches.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subDomainSettings(Collection<SubDomainSetting> subDomainSettings) The setting for the subdomain.subDomainSettings(Consumer<SubDomainSetting.Builder>... subDomainSettings) The setting for the subdomain.subDomainSettings(SubDomainSetting... subDomainSettings) The setting for the subdomain.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
appId
The unique ID for an Amplify app.
- Parameters:
appId- The unique ID for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
The domain name for the domain association.
- Parameters:
domainName- The domain name for the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableAutoSubDomain
Enables the automated creation of subdomains for branches.
- Parameters:
enableAutoSubDomain- Enables the automated creation of subdomains for branches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomainSettings
CreateDomainAssociationRequest.Builder subDomainSettings(Collection<SubDomainSetting> subDomainSettings) The setting for the subdomain.
- Parameters:
subDomainSettings- The setting for the subdomain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomainSettings
The setting for the subdomain.
- Parameters:
subDomainSettings- The setting for the subdomain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomainSettings
CreateDomainAssociationRequest.Builder subDomainSettings(Consumer<SubDomainSetting.Builder>... subDomainSettings) The setting for the subdomain.
This is a convenience method that creates an instance of theSubDomainSetting.Builderavoiding the need to create one manually viaSubDomainSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubDomainSettings(List<SubDomainSetting>).- Parameters:
subDomainSettings- a consumer that will call methods onSubDomainSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoSubDomainCreationPatterns
CreateDomainAssociationRequest.Builder autoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.
- Parameters:
autoSubDomainCreationPatterns- Sets the branch patterns for automatic subdomain creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSubDomainCreationPatterns
CreateDomainAssociationRequest.Builder autoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns) Sets the branch patterns for automatic subdomain creation.
- Parameters:
autoSubDomainCreationPatterns- Sets the branch patterns for automatic subdomain creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSubDomainIAMRole
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
- Parameters:
autoSubDomainIAMRole- The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDomainAssociationRequest.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
CreateDomainAssociationRequest.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.
-