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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SslConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SslConfigurationclone()booleanequals(Object obj)StringgetCertificate()The contents of the certificate's domain.crt file.StringgetChain()Optional.StringgetPrivateKey()The private key; the contents of the certificate's domain.kex file.inthashCode()voidsetCertificate(String certificate)The contents of the certificate's domain.crt file.voidsetChain(String chain)Optional.voidsetPrivateKey(String privateKey)The private key; the contents of the certificate's domain.kex file.StringtoString()Returns a string representation of this object; useful for testing and debugging.SslConfigurationwithCertificate(String certificate)The contents of the certificate's domain.crt file.SslConfigurationwithChain(String chain)Optional.SslConfigurationwithPrivateKey(String privateKey)The private key; the contents of the certificate's domain.kex file.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SslConfiguration clone()
-
-