Interface CustomDomain.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomDomain.Builder,
,CustomDomain> SdkBuilder<CustomDomain.Builder,
,CustomDomain> SdkPojo
- Enclosing class:
CustomDomain
-
Method Summary
Modifier and TypeMethodDescriptioncertificateValidationRecords
(Collection<CertificateValidationRecord> certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.certificateValidationRecords
(Consumer<CertificateValidationRecord.Builder>... certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.certificateValidationRecords
(CertificateValidationRecord... certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.domainName
(String domainName) An associated custom domain endpoint.enableWWWSubdomain
(Boolean enableWWWSubdomain) Whentrue
, the subdomainwww.DomainName
is associated with the App Runner service in addition to the base domain.The current state of the domain name association.status
(CustomDomainAssociationStatus status) The current state of the domain name 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
-
domainName
An associated custom domain endpoint. It can be a root domain (for example,
example.com
), a subdomain (for example,login.example.com
oradmin.login.example.com
), or a wildcard (for example,*.example.com
).- Parameters:
domainName
- An associated custom domain endpoint. It can be a root domain (for example,example.com
), a subdomain (for example,login.example.com
oradmin.login.example.com
), or a wildcard (for example,*.example.com
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableWWWSubdomain
When
true
, the subdomainwww.DomainName
is associated with the App Runner service in addition to the base domain.- Parameters:
enableWWWSubdomain
- Whentrue
, the subdomainwww.DomainName
is associated with the App Runner service in addition to the base domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateValidationRecords
CustomDomain.Builder certificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.
- Parameters:
certificateValidationRecords
- A list of certificate CNAME records that's used for this domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateValidationRecords
CustomDomain.Builder certificateValidationRecords(CertificateValidationRecord... certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.
- Parameters:
certificateValidationRecords
- A list of certificate CNAME records that's used for this domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateValidationRecords
CustomDomain.Builder certificateValidationRecords(Consumer<CertificateValidationRecord.Builder>... certificateValidationRecords) A list of certificate CNAME records that's used for this domain name.
This is a convenience method that creates an instance of theCertificateValidationRecord.Builder
avoiding the need to create one manually viaCertificateValidationRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificateValidationRecords(List<CertificateValidationRecord>)
.- Parameters:
certificateValidationRecords
- a consumer that will call methods onCertificateValidationRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of the domain name association.
- Parameters:
status
- The current state of the domain name association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current state of the domain name association.
- Parameters:
status
- The current state of the domain name association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-