public class DomainName
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateName
The name of the certificate.
|
private java.util.Date |
certificateUploadDate
The date when the certificate was uploaded, in ISO 8601 format.
|
private java.lang.String |
distributionDomainName
The domain name of the Amazon CloudFront distribution.
|
private java.lang.String |
domainName
The name of the DomainName resource.
|
Constructor and Description |
---|
DomainName() |
Modifier and Type | Method and Description |
---|---|
DomainName |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateName()
The name of the certificate.
|
java.util.Date |
getCertificateUploadDate()
The date when the certificate was uploaded, in ISO 8601 format.
|
java.lang.String |
getDistributionDomainName()
The domain name of the Amazon CloudFront distribution.
|
java.lang.String |
getDomainName()
The name of the DomainName resource.
|
int |
hashCode() |
void |
setCertificateName(java.lang.String certificateName)
The name of the certificate.
|
void |
setCertificateUploadDate(java.util.Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
|
void |
setDistributionDomainName(java.lang.String distributionDomainName)
The domain name of the Amazon CloudFront distribution.
|
void |
setDomainName(java.lang.String domainName)
The name of the DomainName resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainName |
withCertificateName(java.lang.String certificateName)
The name of the certificate.
|
DomainName |
withCertificateUploadDate(java.util.Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
|
DomainName |
withDistributionDomainName(java.lang.String distributionDomainName)
The domain name of the Amazon CloudFront distribution.
|
DomainName |
withDomainName(java.lang.String domainName)
The name of the DomainName resource.
|
private java.lang.String domainName
The name of the DomainName resource.
private java.lang.String certificateName
The name of the certificate.
private java.util.Date certificateUploadDate
The date when the certificate was uploaded, in ISO 8601 format.
private java.lang.String distributionDomainName
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
public void setDomainName(java.lang.String domainName)
The name of the DomainName resource.
domainName
- The name of the DomainName resource.public java.lang.String getDomainName()
The name of the DomainName resource.
public DomainName withDomainName(java.lang.String domainName)
The name of the DomainName resource.
domainName
- The name of the DomainName resource.public void setCertificateName(java.lang.String certificateName)
The name of the certificate.
certificateName
- The name of the certificate.public java.lang.String getCertificateName()
The name of the certificate.
public DomainName withCertificateName(java.lang.String certificateName)
The name of the certificate.
certificateName
- The name of the certificate.public void setCertificateUploadDate(java.util.Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
certificateUploadDate
- The date when the certificate was uploaded, in ISO 8601 format.public java.util.Date getCertificateUploadDate()
The date when the certificate was uploaded, in ISO 8601 format.
public DomainName withCertificateUploadDate(java.util.Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
certificateUploadDate
- The date when the certificate was uploaded, in ISO 8601 format.public void setDistributionDomainName(java.lang.String distributionDomainName)
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
distributionDomainName
- The domain name of the Amazon CloudFront distribution. For more
information, see the Amazon CloudFront documentation.public java.lang.String getDistributionDomainName()
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
public DomainName withDistributionDomainName(java.lang.String distributionDomainName)
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
distributionDomainName
- The domain name of the Amazon CloudFront distribution. For more
information, see the Amazon CloudFront documentation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DomainName clone()
clone
in class java.lang.Object