Class CreateDomainNameRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.CreateDomainNameRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateDomainNameRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to create a new domain name.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDomainNameRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDomainNameRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCertificateBody()The body of the server certificate provided by your certificate authority.StringgetCertificateChain()The intermediate certificates and optionally the root certificate, one after the other without any blank lines.StringgetCertificateName()The name of the certificate.StringgetCertificatePrivateKey()Your certificate's private key.StringgetDomainName()The name of the DomainName resource.inthashCode()voidsetCertificateBody(String certificateBody)The body of the server certificate provided by your certificate authority.voidsetCertificateChain(String certificateChain)The intermediate certificates and optionally the root certificate, one after the other without any blank lines.voidsetCertificateName(String certificateName)The name of the certificate.voidsetCertificatePrivateKey(String certificatePrivateKey)Your certificate's private key.voidsetDomainName(String domainName)The name of the DomainName resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateDomainNameRequestwithCertificateBody(String certificateBody)The body of the server certificate provided by your certificate authority.CreateDomainNameRequestwithCertificateChain(String certificateChain)The intermediate certificates and optionally the root certificate, one after the other without any blank lines.CreateDomainNameRequestwithCertificateName(String certificateName)The name of the certificate.CreateDomainNameRequestwithCertificatePrivateKey(String certificatePrivateKey)Your certificate's private key.CreateDomainNameRequestwithDomainName(String domainName)The name of the DomainName resource.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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 CreateDomainNameRequest 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 CreateDomainNameRequest 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.
-
setCertificateBody
public void setCertificateBody(String certificateBody)
The body of the server certificate provided by your certificate authority.
- Parameters:
certificateBody- The body of the server certificate provided by your certificate authority.
-
getCertificateBody
public String getCertificateBody()
The body of the server certificate provided by your certificate authority.
- Returns:
- The body of the server certificate provided by your certificate authority.
-
withCertificateBody
public CreateDomainNameRequest withCertificateBody(String certificateBody)
The body of the server certificate provided by your certificate authority.
- Parameters:
certificateBody- The body of the server certificate provided by your certificate authority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificatePrivateKey
public void setCertificatePrivateKey(String certificatePrivateKey)
Your certificate's private key.
- Parameters:
certificatePrivateKey- Your certificate's private key.
-
getCertificatePrivateKey
public String getCertificatePrivateKey()
Your certificate's private key.
- Returns:
- Your certificate's private key.
-
withCertificatePrivateKey
public CreateDomainNameRequest withCertificatePrivateKey(String certificatePrivateKey)
Your certificate's private key.
- Parameters:
certificatePrivateKey- Your certificate's private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateChain
public void setCertificateChain(String certificateChain)
The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
- Parameters:
certificateChain- The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
-
getCertificateChain
public String getCertificateChain()
The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
- Returns:
- The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
-
withCertificateChain
public CreateDomainNameRequest withCertificateChain(String certificateChain)
The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
- Parameters:
certificateChain- The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDomainNameRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-