@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomDomain extends Object implements Serializable, Cloneable, StructuredPojo
Describes a custom domain that's associated with an App Runner service.
Constructor and Description |
---|
CustomDomain() |
Modifier and Type | Method and Description |
---|---|
CustomDomain |
clone() |
boolean |
equals(Object obj) |
List<CertificateValidationRecord> |
getCertificateValidationRecords()
A list of certificate CNAME records that's used for this domain name.
|
String |
getDomainName()
An associated custom domain endpoint.
|
Boolean |
getEnableWWWSubdomain()
When
true , the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain. |
String |
getStatus()
The current state of the domain name association.
|
int |
hashCode() |
Boolean |
isEnableWWWSubdomain()
When
true , the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
|
void |
setDomainName(String domainName)
An associated custom domain endpoint.
|
void |
setEnableWWWSubdomain(Boolean enableWWWSubdomain)
When
true , the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain. |
void |
setStatus(String status)
The current state of the domain name association.
|
String |
toString()
Returns a string representation of this object.
|
CustomDomain |
withCertificateValidationRecords(CertificateValidationRecord... certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
|
CustomDomain |
withCertificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
|
CustomDomain |
withDomainName(String domainName)
An associated custom domain endpoint.
|
CustomDomain |
withEnableWWWSubdomain(Boolean enableWWWSubdomain)
When
true , the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain. |
CustomDomain |
withStatus(CustomDomainAssociationStatus status)
The current state of the domain name association.
|
CustomDomain |
withStatus(String status)
The current state of the domain name association.
|
public void setDomainName(String domainName)
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard
(for example, *.example.com
).
domainName
- An associated custom domain endpoint. It can be a root domain (for example, example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a
wildcard (for example, *.example.com
).public String getDomainName()
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard
(for example, *.example.com
).
example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a
wildcard (for example, *.example.com
).public CustomDomain withDomainName(String domainName)
An associated custom domain endpoint. It can be a root domain (for example, example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a wildcard
(for example, *.example.com
).
domainName
- An associated custom domain endpoint. It can be a root domain (for example, example.com
), a
subdomain (for example, login.example.com
or admin.login.example.com
), or a
wildcard (for example, *.example.com
).public void setEnableWWWSubdomain(Boolean enableWWWSubdomain)
When true
, the subdomain www.DomainName
is associated with the App Runner
service in addition to the base domain.
enableWWWSubdomain
- When true
, the subdomain www.DomainName
is associated with the App
Runner service in addition to the base domain.public Boolean getEnableWWWSubdomain()
When true
, the subdomain www.DomainName
is associated with the App Runner
service in addition to the base domain.
true
, the subdomain www.DomainName
is associated with the App
Runner service in addition to the base domain.public CustomDomain withEnableWWWSubdomain(Boolean enableWWWSubdomain)
When true
, the subdomain www.DomainName
is associated with the App Runner
service in addition to the base domain.
enableWWWSubdomain
- When true
, the subdomain www.DomainName
is associated with the App
Runner service in addition to the base domain.public Boolean isEnableWWWSubdomain()
When true
, the subdomain www.DomainName
is associated with the App Runner
service in addition to the base domain.
true
, the subdomain www.DomainName
is associated with the App
Runner service in addition to the base domain.public List<CertificateValidationRecord> getCertificateValidationRecords()
A list of certificate CNAME records that's used for this domain name.
public void setCertificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
certificateValidationRecords
- A list of certificate CNAME records that's used for this domain name.public CustomDomain withCertificateValidationRecords(CertificateValidationRecord... certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
NOTE: This method appends the values to the existing list (if any). Use
setCertificateValidationRecords(java.util.Collection)
or
withCertificateValidationRecords(java.util.Collection)
if you want to override the existing values.
certificateValidationRecords
- A list of certificate CNAME records that's used for this domain name.public CustomDomain withCertificateValidationRecords(Collection<CertificateValidationRecord> certificateValidationRecords)
A list of certificate CNAME records that's used for this domain name.
certificateValidationRecords
- A list of certificate CNAME records that's used for this domain name.public void setStatus(String status)
The current state of the domain name association.
status
- The current state of the domain name association.CustomDomainAssociationStatus
public String getStatus()
The current state of the domain name association.
CustomDomainAssociationStatus
public CustomDomain withStatus(String status)
The current state of the domain name association.
status
- The current state of the domain name association.CustomDomainAssociationStatus
public CustomDomain withStatus(CustomDomainAssociationStatus status)
The current state of the domain name association.
status
- The current state of the domain name association.CustomDomainAssociationStatus
public String toString()
toString
in class Object
Object.toString()
public CustomDomain clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.