Interface CustomDomain.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomDomain.Builder,CustomDomain>,SdkBuilder<CustomDomain.Builder,CustomDomain>,SdkPojo
- Enclosing class:
- CustomDomain
public static interface CustomDomain.Builder extends SdkPojo, CopyableBuilder<CustomDomain.Builder,CustomDomain>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomDomain.BuildercertificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)A list of certificate CNAME records that's used for this domain name.CustomDomain.BuildercertificateValidationRecords(Consumer<CertificateValidationRecord.Builder>... certificateValidationRecords)A list of certificate CNAME records that's used for this domain name.CustomDomain.BuildercertificateValidationRecords(CertificateValidationRecord... certificateValidationRecords)A list of certificate CNAME records that's used for this domain name.CustomDomain.BuilderdomainName(String domainName)An associated custom domain endpoint.CustomDomain.BuilderenableWWWSubdomain(Boolean enableWWWSubdomain)Whentrue, the subdomainwww.DomainNameis associated with the App Runner service in addition to the base domain.CustomDomain.Builderstatus(String status)The current state of the domain name association.CustomDomain.Builderstatus(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 Detail
-
domainName
CustomDomain.Builder domainName(String domainName)
An associated custom domain endpoint. It can be a root domain (for example,
example.com), a subdomain (for example,login.example.comoradmin.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.comoradmin.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
CustomDomain.Builder enableWWWSubdomain(Boolean enableWWWSubdomain)
When
true, the subdomainwww.DomainNameis associated with the App Runner service in addition to the base domain.- Parameters:
enableWWWSubdomain- Whentrue, the subdomainwww.DomainNameis 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.Builderavoiding the need to create one manually viaCertificateValidationRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#certificateValidationRecords(List.) - 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:
#certificateValidationRecords(java.util.Collection)
-
status
CustomDomain.Builder status(String 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:
CustomDomainAssociationStatus,CustomDomainAssociationStatus
-
status
CustomDomain.Builder status(CustomDomainAssociationStatus 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:
CustomDomainAssociationStatus,CustomDomainAssociationStatus
-
-