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 CreateDomainNameRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCertificateBody()
The body of the server certificate provided by your certificate authority.String
getCertificateChain()
The intermediate certificates and optionally the root certificate, one after the other without any blank lines.String
getCertificateName()
The name of the certificate.String
getCertificatePrivateKey()
Your certificate's private key.String
getDomainName()
The name of the DomainName resource.int
hashCode()
void
setCertificateBody(String certificateBody)
The body of the server certificate provided by your certificate authority.void
setCertificateChain(String certificateChain)
The intermediate certificates and optionally the root certificate, one after the other without any blank lines.void
setCertificateName(String certificateName)
The name of the certificate.void
setCertificatePrivateKey(String certificatePrivateKey)
Your certificate's private key.void
setDomainName(String domainName)
The name of the DomainName resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateDomainNameRequest
withCertificateBody(String certificateBody)
The body of the server certificate provided by your certificate authority.CreateDomainNameRequest
withCertificateChain(String certificateChain)
The intermediate certificates and optionally the root certificate, one after the other without any blank lines.CreateDomainNameRequest
withCertificateName(String certificateName)
The name of the certificate.CreateDomainNameRequest
withCertificatePrivateKey(String certificatePrivateKey)
Your certificate's private key.CreateDomainNameRequest
withDomainName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDomainNameRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-