@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerCertificate extends Object implements Serializable, Cloneable
Contains information about a server certificate.
This data type is used as a response element in the GetServerCertificate action.
Constructor and Description |
---|
ServerCertificate()
Default constructor for ServerCertificate object.
|
ServerCertificate(ServerCertificateMetadata serverCertificateMetadata,
String certificateBody)
Constructs a new ServerCertificate object.
|
Modifier and Type | Method and Description |
---|---|
ServerCertificate |
clone() |
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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.
|
public ServerCertificate()
public ServerCertificate(ServerCertificateMetadata serverCertificateMetadata, String certificateBody)
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.certificateBody
- The contents of the public key certificate.public void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.public ServerCertificateMetadata getServerCertificateMetadata()
The meta information of the server certificate, such as its name, path, ID, and ARN.
public ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the server certificate, such as its name, path, ID, and ARN.
serverCertificateMetadata
- The meta information of the server certificate, such as its name, path, ID, and ARN.public void setCertificateBody(String certificateBody)
The contents of the public key certificate.
certificateBody
- The contents of the public key certificate.public String getCertificateBody()
The contents of the public key certificate.
public ServerCertificate withCertificateBody(String certificateBody)
The contents of the public key certificate.
certificateBody
- The contents of the public key certificate.public void setCertificateChain(String certificateChain)
The contents of the public key certificate chain.
certificateChain
- The contents of the public key certificate chain.public String getCertificateChain()
The contents of the public key certificate chain.
public ServerCertificate withCertificateChain(String certificateChain)
The contents of the public key certificate chain.
certificateChain
- The contents of the public key certificate chain.public String toString()
toString
in class Object
Object.toString()
public ServerCertificate clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.