Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class SslConfiguration

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.SslConfiguration
All Implemented Interfaces:
Serializable

public class SslConfiguration
extends Object
implements Serializable

Describes an app's SSL configuration.

See Also:
Serialized Form

Constructor Summary
SslConfiguration()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SslConfiguration

public SslConfiguration()
Method Detail

getCertificate

public String getCertificate()
The contents of the certificate's domain.crt file.

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

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.

withCertificate

public SslConfiguration withCertificate(String certificate)
The contents of the certificate's domain.crt file.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withPrivateKey

public SslConfiguration withPrivateKey(String privateKey)
The private key; the contents of the certificate's domain.kex file.

Returns a reference to this object so that method calls can be chained together.

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

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.

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.

withChain

public SslConfiguration withChain(String chain)
Optional. Can be used to specify an intermediate certificate authority key or client authentication.

Returns a reference to this object so that method calls can be chained together.

Parameters:
chain - Optional. Can be used to specify an intermediate certificate authority key or client authentication.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.