com.amazonaws.services.identitymanagement.model
Class ServerCertificate

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.ServerCertificate

public class ServerCertificate
extends Object

The ServerCertificate data type contains information about a server certificate.

This data type is used as a response element in the action GetServerCertificate.


Constructor Summary
ServerCertificate()
           
 
Method Summary
 String getCertificateBody()
          The contents of the public key certificate.
 String getCertificateChain()
          The contents of the public key certificate chain.
 ServerCertificateMetadata getServerCertificateMetadata()
          The meta information of the server certificate, such as its name, path, ID, and ARN.
 void setCertificateBody(String certificateBody)
          The contents of the public key certificate.
 void setCertificateChain(String certificateChain)
          The contents of the public key certificate chain.
 void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
          The meta information of the server certificate, such as its name, path, ID, and ARN.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ServerCertificate withCertificateBody(String certificateBody)
          The contents of the public key certificate.
 ServerCertificate withCertificateChain(String certificateChain)
          The contents of the public key certificate chain.
 ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
          The meta information of the server certificate, such as its name, path, ID, and ARN.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerCertificate

public ServerCertificate()
Method Detail

getServerCertificateMetadata

public ServerCertificateMetadata getServerCertificateMetadata()
The meta information of the server certificate, such as its name, path, ID, and ARN.

Returns:
The meta information of the server certificate, such as its name, path, ID, and ARN.

setServerCertificateMetadata

public void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.

Parameters:
serverCertificateMetadata - The meta information of the server certificate, such as its name, path, ID, and ARN.

withServerCertificateMetadata

public ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.

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

Parameters:
serverCertificateMetadata - The meta information of the server certificate, such as its name, path, ID, and ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

getCertificateBody

public String getCertificateBody()
The contents of the public key certificate.

Constraints:
Length: 1 - 16384
Pattern: [ -?]+

Returns:
The contents of the public key certificate.

setCertificateBody

public void setCertificateBody(String certificateBody)
The contents of the public key certificate.

Constraints:
Length: 1 - 16384
Pattern: [ -?]+

Parameters:
certificateBody - The contents of the public key certificate.

withCertificateBody

public ServerCertificate withCertificateBody(String certificateBody)
The contents of the public key certificate.

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

Constraints:
Length: 1 - 16384
Pattern: [ -?]+

Parameters:
certificateBody - The contents of the public key certificate.
Returns:
A reference to this updated object so that method calls can be chained together.

getCertificateChain

public String getCertificateChain()
The contents of the public key certificate chain.

Constraints:
Length: 1 - 2097152
Pattern: [ -?]*

Returns:
The contents of the public key certificate chain.

setCertificateChain

public void setCertificateChain(String certificateChain)
The contents of the public key certificate chain.

Constraints:
Length: 1 - 2097152
Pattern: [ -?]*

Parameters:
certificateChain - The contents of the public key certificate chain.

withCertificateChain

public ServerCertificate withCertificateChain(String certificateChain)
The contents of the public key certificate chain.

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

Constraints:
Length: 1 - 2097152
Pattern: [ -?]*

Parameters:
certificateChain - The contents of the public key certificate chain.
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()


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