Class DomainName
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.DomainName
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String domainName)
The name of the DomainName resource.
- Parameters:
domainName
- The name of the DomainName resource.
-
getDomainName
public String getDomainName()
The name of the DomainName resource.
- Returns:
- The name of the DomainName resource.
-
withDomainName
public DomainName withDomainName(String domainName)
The name of the DomainName resource.
- Parameters:
domainName
- The name of the DomainName resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateName
public void setCertificateName(String certificateName)
The name of the certificate.
- Parameters:
certificateName
- The name of the certificate.
-
getCertificateName
public String getCertificateName()
The name of the certificate.
- Returns:
- The name of the certificate.
-
withCertificateName
public DomainName withCertificateName(String certificateName)
The name of the certificate.
- Parameters:
certificateName
- The name of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateUploadDate
public void setCertificateUploadDate(Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
- Parameters:
certificateUploadDate
- The date when the certificate was uploaded, in ISO 8601 format.
-
getCertificateUploadDate
public Date getCertificateUploadDate()
The date when the certificate was uploaded, in ISO 8601 format.
- Returns:
- The date when the certificate was uploaded, in ISO 8601 format.
-
withCertificateUploadDate
public DomainName withCertificateUploadDate(Date certificateUploadDate)
The date when the certificate was uploaded, in ISO 8601 format.
- Parameters:
certificateUploadDate
- The date when the certificate was uploaded, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDistributionDomainName
public void setDistributionDomainName(String distributionDomainName)
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
- Parameters:
distributionDomainName
- The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
-
getDistributionDomainName
public String getDistributionDomainName()
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
- Returns:
- The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
-
withDistributionDomainName
public DomainName withDistributionDomainName(String distributionDomainName)
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.
- Parameters:
distributionDomainName
- The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DomainName clone()
-
-