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:
  • Constructor Details

    • CreateDomainNameRequest

      public CreateDomainNameRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: