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