@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportCertificateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExportCertificateResult() |
Modifier and Type | Method and Description |
---|---|
ExportCertificateResult |
clone() |
boolean |
equals(Object obj) |
String |
getCertificate()
The base64 PEM-encoded certificate.
|
String |
getCertificateChain()
The base64 PEM-encoded certificate chain.
|
String |
getPrivateKey()
The encrypted private key associated with the public key in the certificate.
|
int |
hashCode() |
void |
setCertificate(String certificate)
The base64 PEM-encoded certificate.
|
void |
setCertificateChain(String certificateChain)
The base64 PEM-encoded certificate chain.
|
void |
setPrivateKey(String privateKey)
The encrypted private key associated with the public key in the certificate.
|
String |
toString()
Returns a string representation of this object.
|
ExportCertificateResult |
withCertificate(String certificate)
The base64 PEM-encoded certificate.
|
ExportCertificateResult |
withCertificateChain(String certificateChain)
The base64 PEM-encoded certificate chain.
|
ExportCertificateResult |
withPrivateKey(String privateKey)
The encrypted private key associated with the public key in the certificate.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCertificate(String certificate)
The base64 PEM-encoded certificate.
certificate
- The base64 PEM-encoded certificate.public String getCertificate()
The base64 PEM-encoded certificate.
public ExportCertificateResult withCertificate(String certificate)
The base64 PEM-encoded certificate.
certificate
- The base64 PEM-encoded certificate.public void setCertificateChain(String certificateChain)
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
certificateChain
- The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.public String getCertificateChain()
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
public ExportCertificateResult withCertificateChain(String certificateChain)
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
certificateChain
- The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.public void setPrivateKey(String privateKey)
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
privateKey
- The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8
format and is base64 PEM-encoded.public String getPrivateKey()
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
public ExportCertificateResult withPrivateKey(String privateKey)
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
privateKey
- The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8
format and is base64 PEM-encoded.public String toString()
toString
in class Object
Object.toString()
public ExportCertificateResult clone()