Class SslConfiguration

java.lang.Object
com.amazonaws.services.opsworks.model.SslConfiguration
All Implemented Interfaces:
Serializable, Cloneable

public class SslConfiguration extends Object implements Serializable, Cloneable

Describes an app's SSL configuration.

See Also:
  • Constructor Details

    • SslConfiguration

      public SslConfiguration()
  • Method Details

    • setCertificate

      public void setCertificate(String certificate)

      The contents of the certificate's domain.crt file.

      Parameters:
      certificate - The contents of the certificate's domain.crt file.
    • getCertificate

      public String getCertificate()

      The contents of the certificate's domain.crt file.

      Returns:
      The contents of the certificate's domain.crt file.
    • withCertificate

      public SslConfiguration withCertificate(String certificate)

      The contents of the certificate's domain.crt file.

      Parameters:
      certificate - The contents of the certificate's domain.crt file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPrivateKey

      public void setPrivateKey(String privateKey)

      The private key; the contents of the certificate's domain.kex file.

      Parameters:
      privateKey - The private key; the contents of the certificate's domain.kex file.
    • getPrivateKey

      public String getPrivateKey()

      The private key; the contents of the certificate's domain.kex file.

      Returns:
      The private key; the contents of the certificate's domain.kex file.
    • withPrivateKey

      public SslConfiguration withPrivateKey(String privateKey)

      The private key; the contents of the certificate's domain.kex file.

      Parameters:
      privateKey - The private key; the contents of the certificate's domain.kex file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setChain

      public void setChain(String chain)

      Optional. Can be used to specify an intermediate certificate authority key or client authentication.

      Parameters:
      chain - Optional. Can be used to specify an intermediate certificate authority key or client authentication.
    • getChain

      public String getChain()

      Optional. Can be used to specify an intermediate certificate authority key or client authentication.

      Returns:
      Optional. Can be used to specify an intermediate certificate authority key or client authentication.
    • withChain

      public SslConfiguration withChain(String chain)

      Optional. Can be used to specify an intermediate certificate authority key or client authentication.

      Parameters:
      chain - Optional. Can be used to specify an intermediate certificate authority key or client authentication.
      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 SslConfiguration clone()
      Overrides:
      clone in class Object