@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Describes a domain association that associates a custom domain with an Amplify app.
Constructor and Description |
---|
DomainAssociation() |
Modifier and Type | Method and Description |
---|---|
DomainAssociation |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAutoSubDomainCreationPatterns()
Sets branch patterns for automatic subdomain creation.
|
String |
getAutoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
String |
getCertificateVerificationDNSRecord()
The DNS record for certificate verification.
|
String |
getDomainAssociationArn()
The Amazon Resource Name (ARN) for the domain association.
|
String |
getDomainName()
The name of the domain.
|
String |
getDomainStatus()
The current status of the domain association.
|
Boolean |
getEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
String |
getStatusReason()
The reason for the current status of the domain association.
|
List<SubDomain> |
getSubDomains()
The subdomains for the domain association.
|
int |
hashCode() |
Boolean |
isEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
|
void |
setAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
void |
setCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
The DNS record for certificate verification.
|
void |
setDomainAssociationArn(String domainAssociationArn)
The Amazon Resource Name (ARN) for the domain association.
|
void |
setDomainName(String domainName)
The name of the domain.
|
void |
setDomainStatus(String domainStatus)
The current status of the domain association.
|
void |
setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
void |
setStatusReason(String statusReason)
The reason for the current status of the domain association.
|
void |
setSubDomains(Collection<SubDomain> subDomains)
The subdomains for the domain association.
|
String |
toString()
Returns a string representation of this object.
|
DomainAssociation |
withAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
|
DomainAssociation |
withAutoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
|
DomainAssociation |
withAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
DomainAssociation |
withCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
The DNS record for certificate verification.
|
DomainAssociation |
withDomainAssociationArn(String domainAssociationArn)
The Amazon Resource Name (ARN) for the domain association.
|
DomainAssociation |
withDomainName(String domainName)
The name of the domain.
|
DomainAssociation |
withDomainStatus(DomainStatus domainStatus)
The current status of the domain association.
|
DomainAssociation |
withDomainStatus(String domainStatus)
The current status of the domain association.
|
DomainAssociation |
withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
DomainAssociation |
withStatusReason(String statusReason)
The reason for the current status of the domain association.
|
DomainAssociation |
withSubDomains(Collection<SubDomain> subDomains)
The subdomains for the domain association.
|
DomainAssociation |
withSubDomains(SubDomain... subDomains)
The subdomains for the domain association.
|
public void setDomainAssociationArn(String domainAssociationArn)
The Amazon Resource Name (ARN) for the domain association.
domainAssociationArn
- The Amazon Resource Name (ARN) for the domain association.public String getDomainAssociationArn()
The Amazon Resource Name (ARN) for the domain association.
public DomainAssociation withDomainAssociationArn(String domainAssociationArn)
The Amazon Resource Name (ARN) for the domain association.
domainAssociationArn
- The Amazon Resource Name (ARN) for the domain association.public void setDomainName(String domainName)
The name of the domain.
domainName
- The name of the domain.public String getDomainName()
The name of the domain.
public DomainAssociation withDomainName(String domainName)
The name of the domain.
domainName
- The name of the domain.public void setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
enableAutoSubDomain
- Enables the automated creation of subdomains for branches.public Boolean getEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
public DomainAssociation withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
enableAutoSubDomain
- Enables the automated creation of subdomains for branches.public Boolean isEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
public List<String> getAutoSubDomainCreationPatterns()
Sets branch patterns for automatic subdomain creation.
public void setAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
autoSubDomainCreationPatterns
- Sets branch patterns for automatic subdomain creation.public DomainAssociation withAutoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
NOTE: This method appends the values to the existing list (if any). Use
setAutoSubDomainCreationPatterns(java.util.Collection)
or
withAutoSubDomainCreationPatterns(java.util.Collection)
if you want to override the existing values.
autoSubDomainCreationPatterns
- Sets branch patterns for automatic subdomain creation.public DomainAssociation withAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets branch patterns for automatic subdomain creation.
autoSubDomainCreationPatterns
- Sets branch patterns for automatic subdomain creation.public void setAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
autoSubDomainIAMRole
- The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.public String getAutoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
public DomainAssociation withAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
autoSubDomainIAMRole
- The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.public void setDomainStatus(String domainStatus)
The current status of the domain association.
domainStatus
- The current status of the domain association.DomainStatus
public String getDomainStatus()
The current status of the domain association.
DomainStatus
public DomainAssociation withDomainStatus(String domainStatus)
The current status of the domain association.
domainStatus
- The current status of the domain association.DomainStatus
public DomainAssociation withDomainStatus(DomainStatus domainStatus)
The current status of the domain association.
domainStatus
- The current status of the domain association.DomainStatus
public void setStatusReason(String statusReason)
The reason for the current status of the domain association.
statusReason
- The reason for the current status of the domain association.public String getStatusReason()
The reason for the current status of the domain association.
public DomainAssociation withStatusReason(String statusReason)
The reason for the current status of the domain association.
statusReason
- The reason for the current status of the domain association.public void setCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
The DNS record for certificate verification.
certificateVerificationDNSRecord
- The DNS record for certificate verification.public String getCertificateVerificationDNSRecord()
The DNS record for certificate verification.
public DomainAssociation withCertificateVerificationDNSRecord(String certificateVerificationDNSRecord)
The DNS record for certificate verification.
certificateVerificationDNSRecord
- The DNS record for certificate verification.public List<SubDomain> getSubDomains()
The subdomains for the domain association.
public void setSubDomains(Collection<SubDomain> subDomains)
The subdomains for the domain association.
subDomains
- The subdomains for the domain association.public DomainAssociation withSubDomains(SubDomain... subDomains)
The 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
- The subdomains for the domain association.public DomainAssociation withSubDomains(Collection<SubDomain> subDomains)
The subdomains for the domain association.
subDomains
- The 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.