@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Structure for Domain Association, which associates a custom domain with an Amplify App.
Constructor and Description |
---|
DomainAssociation() |
Modifier and Type | Method and Description |
---|---|
DomainAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateVerificationDNSRecord()
DNS Record for certificate verification.
|
String |
getDomainAssociationArn()
ARN for the Domain Association.
|
String |
getDomainName()
Name of the domain.
|
String |
getDomainStatus()
Status fo the Domain Association.
|
Boolean |
getEnableAutoSubDomain()
Enables automated creation of Subdomains for branches.
|
String |
getStatusReason()
Reason for the current status of the Domain Association.
|
List<SubDomain> |
getSubDomains()
Subdomains for the Domain Association.
|
int |
hashCode() |
Boolean |
isEnableAutoSubDomain()
Enables automated creation of Subdomains for branches.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
DNS Record for certificate verification.
|
void |
setDomainAssociationArn(String domainAssociationArn)
ARN for the Domain Association.
|
void |
setDomainName(String domainName)
Name of the domain.
|
void |
setDomainStatus(String domainStatus)
Status fo the Domain Association.
|
void |
setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables automated creation of Subdomains for branches.
|
void |
setStatusReason(String statusReason)
Reason for the current status of the Domain Association.
|
void |
setSubDomains(Collection<SubDomain> subDomains)
Subdomains for the Domain Association.
|
String |
toString()
Returns a string representation of this object.
|
DomainAssociation |
withCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
DNS Record for certificate verification.
|
DomainAssociation |
withDomainAssociationArn(String domainAssociationArn)
ARN for the Domain Association.
|
DomainAssociation |
withDomainName(String domainName)
Name of the domain.
|
DomainAssociation |
withDomainStatus(DomainStatus domainStatus)
Status fo the Domain Association.
|
DomainAssociation |
withDomainStatus(String domainStatus)
Status fo the Domain Association.
|
DomainAssociation |
withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables automated creation of Subdomains for branches.
|
DomainAssociation |
withStatusReason(String statusReason)
Reason for the current status of the Domain Association.
|
DomainAssociation |
withSubDomains(Collection<SubDomain> subDomains)
Subdomains for the Domain Association.
|
DomainAssociation |
withSubDomains(SubDomain... subDomains)
Subdomains for the Domain Association.
|
public void setDomainAssociationArn(String domainAssociationArn)
ARN for the Domain Association.
domainAssociationArn
- ARN for the Domain Association.public String getDomainAssociationArn()
ARN for the Domain Association.
public DomainAssociation withDomainAssociationArn(String domainAssociationArn)
ARN for the Domain Association.
domainAssociationArn
- ARN for the Domain Association.public void setDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public String getDomainName()
Name of the domain.
public DomainAssociation withDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public void setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables automated creation of Subdomains for branches. (Currently not supported)
enableAutoSubDomain
- Enables automated creation of Subdomains for branches. (Currently not supported)public Boolean getEnableAutoSubDomain()
Enables automated creation of Subdomains for branches. (Currently not supported)
public DomainAssociation withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables automated creation of Subdomains for branches. (Currently not supported)
enableAutoSubDomain
- Enables automated creation of Subdomains for branches. (Currently not supported)public Boolean isEnableAutoSubDomain()
Enables automated creation of Subdomains for branches. (Currently not supported)
public void setDomainStatus(String domainStatus)
Status fo the Domain Association.
domainStatus
- Status fo the Domain Association.DomainStatus
public String getDomainStatus()
Status fo the Domain Association.
DomainStatus
public DomainAssociation withDomainStatus(String domainStatus)
Status fo the Domain Association.
domainStatus
- Status fo the Domain Association.DomainStatus
public DomainAssociation withDomainStatus(DomainStatus domainStatus)
Status fo the Domain Association.
domainStatus
- Status fo the Domain Association.DomainStatus
public void setStatusReason(String statusReason)
Reason for the current status of the Domain Association.
statusReason
- Reason for the current status of the Domain Association.public String getStatusReason()
Reason for the current status of the Domain Association.
public DomainAssociation withStatusReason(String statusReason)
Reason for the current status of the Domain Association.
statusReason
- Reason for the current status of the Domain Association.public void setCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
DNS Record for certificate verification.
certificateVerificationDNSRecord
- DNS Record for certificate verification.public String getCertificateVerificationDNSRecord()
DNS Record for certificate verification.
public DomainAssociation withCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
DNS Record for certificate verification.
certificateVerificationDNSRecord
- DNS Record for certificate verification.public List<SubDomain> getSubDomains()
Subdomains for the Domain Association.
public void setSubDomains(Collection<SubDomain> subDomains)
Subdomains for the Domain Association.
subDomains
- Subdomains for the Domain Association.public DomainAssociation withSubDomains(SubDomain... subDomains)
Subdomains for the Domain Association.
NOTE: This method appends the values to the existing list (if any). Use
setSubDomains(java.util.Collection)
or withSubDomains(java.util.Collection)
if you want to
override the existing values.
subDomains
- Subdomains for the Domain Association.public DomainAssociation withSubDomains(Collection<SubDomain> subDomains)
Subdomains for the Domain Association.
subDomains
- Subdomains for the Domain Association.public String toString()
toString
in class Object
Object.toString()
public DomainAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.