Interface DomainAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DomainAssociation.Builder,
,DomainAssociation> SdkBuilder<DomainAssociation.Builder,
,DomainAssociation> SdkPojo
- Enclosing class:
DomainAssociation
-
Method Summary
Modifier and TypeMethodDescriptionautoSubDomainCreationPatterns
(String... autoSubDomainCreationPatterns) Sets branch patterns for automatic subdomain creation.autoSubDomainCreationPatterns
(Collection<String> autoSubDomainCreationPatterns) Sets 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.certificateVerificationDNSRecord
(String certificateVerificationDNSRecord) The DNS record for certificate verification.domainAssociationArn
(String domainAssociationArn) The Amazon Resource Name (ARN) for the domain association.domainName
(String domainName) The name of the domain.domainStatus
(String domainStatus) The current status of the domain association.domainStatus
(DomainStatus domainStatus) The current status of the domain association.enableAutoSubDomain
(Boolean enableAutoSubDomain) Enables the automated creation of subdomains for branches.statusReason
(String statusReason) The reason for the current status of the domain association.subDomains
(Collection<SubDomain> subDomains) The subdomains for the domain association.subDomains
(Consumer<SubDomain.Builder>... subDomains) The subdomains for the domain association.subDomains
(SubDomain... subDomains) The subdomains for the domain association.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
-
domainAssociationArn
The Amazon Resource Name (ARN) for the domain association.
- Parameters:
domainAssociationArn
- The Amazon Resource Name (ARN) for the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
The name of the domain.
- Parameters:
domainName
- The name of the domain.- 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.
-
autoSubDomainCreationPatterns
DomainAssociation.Builder autoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns) Sets branch patterns for automatic subdomain creation.
- Parameters:
autoSubDomainCreationPatterns
- Sets branch patterns for automatic subdomain creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoSubDomainCreationPatterns
Sets branch patterns for automatic subdomain creation.
- Parameters:
autoSubDomainCreationPatterns
- Sets 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.
-
domainStatus
The current status of the domain association.
- Parameters:
domainStatus
- The current status of the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainStatus
The current status of the domain association.
- Parameters:
domainStatus
- The current status of the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
The reason for the current status of the domain association.
- Parameters:
statusReason
- The reason for the current status of the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateVerificationDNSRecord
The DNS record for certificate verification.
- Parameters:
certificateVerificationDNSRecord
- The DNS record for certificate verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomains
The subdomains for the domain association.
- Parameters:
subDomains
- The subdomains for the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomains
The subdomains for the domain association.
- Parameters:
subDomains
- The subdomains for the domain association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDomains
The subdomains for the domain association.
This is a convenience method that creates an instance of theSubDomain.Builder
avoiding the need to create one manually viaSubDomain.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubDomains(List<SubDomain>)
.- Parameters:
subDomains
- a consumer that will call methods onSubDomain.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-