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 SslConfiguration
clone()
boolean
equals(Object obj)
String
getCertificate()
The contents of the certificate's domain.crt file.String
getChain()
Optional.String
getPrivateKey()
The private key; the contents of the certificate's domain.kex file.int
hashCode()
void
setCertificate(String certificate)
The contents of the certificate's domain.crt file.void
setChain(String chain)
Optional.void
setPrivateKey(String privateKey)
The private key; the contents of the certificate's domain.kex file.String
toString()
Returns a string representation of this object; useful for testing and debugging.SslConfiguration
withCertificate(String certificate)
The contents of the certificate's domain.crt file.SslConfiguration
withChain(String chain)
Optional.SslConfiguration
withPrivateKey(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SslConfiguration clone()
-
-