Interface CreateDomainAssociationRequest.Builder
- All Superinterfaces:
AmplifyRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDomainAssociationRequest.Builder,
,CreateDomainAssociationRequest> SdkBuilder<CreateDomainAssociationRequest.Builder,
,CreateDomainAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
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.certificateSettings
(Consumer<CertificateSettings.Builder> certificateSettings) The type of SSL/TLS certificate to use for your custom domain.certificateSettings
(CertificateSettings certificateSettings) The type of SSL/TLS certificate to use for your custom domain.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
build
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
-
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.Builder
avoiding the need to create one manually viaSubDomainSetting.builder()
.When the
Consumer
completes,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.
-
certificateSettings
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
- Parameters:
certificateSettings
- The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateSettings
default CreateDomainAssociationRequest.Builder certificateSettings(Consumer<CertificateSettings.Builder> certificateSettings) The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
This is a convenience method that creates an instance of theCertificateSettings.Builder
avoiding the need to create one manually viaCertificateSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificateSettings(CertificateSettings)
.- Parameters:
certificateSettings
- a consumer that will call methods onCertificateSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDomainAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-