public class ServerCertificate extends Object implements Serializable
The ServerCertificate data type contains information about a server certificate.
This data type is used as a response element in the action GetServerCertificate.
Constructor and Description |
---|
ServerCertificate()
Default constructor for a new ServerCertificate object.
|
ServerCertificate(ServerCertificateMetadata serverCertificateMetadata,
String certificateBody)
Constructs a new ServerCertificate object.
|
Modifier and Type | Method and Description |
---|---|
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 ServerCertificateMetadata getServerCertificateMetadata()
public void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
serverCertificateMetadata
- The meta information of the server certificate, such as its name,
path, ID, and ARN.public ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
Returns a reference to this object so that method calls can be chained together.
serverCertificateMetadata
- The meta information of the server certificate, such as its name,
path, ID, and ARN.public String getCertificateBody()
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
public void setCertificateBody(String certificateBody)
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
certificateBody
- The contents of the public key certificate.public ServerCertificate withCertificateBody(String certificateBody)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16384
Pattern: [
-ÿ]+
certificateBody
- The contents of the public key certificate.public String getCertificateChain()
Constraints:
Length: 1 - 2097152
Pattern: [
-ÿ]*
public void setCertificateChain(String certificateChain)
Constraints:
Length: 1 - 2097152
Pattern: [
-ÿ]*
certificateChain
- The contents of the public key certificate chain.public ServerCertificate withCertificateChain(String certificateChain)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2097152
Pattern: [
-ÿ]*
certificateChain
- The contents of the public key certificate chain.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.