public class Certificate extends Object implements Serializable, Cloneable
The SSL certificate that can be used to encrypt connections between the endpoints and the replication instance.
| Constructor and Description |
|---|
Certificate() |
| Modifier and Type | Method and Description |
|---|---|
Certificate |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The Amazon Resource Name (ARN) for the certificate.
|
Date |
getCertificateCreationDate()
the date the certificate was created.
|
String |
getCertificateIdentifier()
The customer-assigned name of the certificate.
|
String |
getCertificateOwner()
The owner of the certificate.
|
String |
getCertificatePem()
The contents of the .pem X.509 certificate file.
|
Integer |
getKeyLength()
The key length of the cryptographic algorithm being used.
|
String |
getSigningAlgorithm()
The signing algorithm for the certificate.
|
Date |
getValidFromDate()
The beginning date the certificate is valid.
|
Date |
getValidToDate()
the final date the certificate is valid.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
void |
setCertificateCreationDate(Date certificateCreationDate)
the date the certificate was created.
|
void |
setCertificateIdentifier(String certificateIdentifier)
The customer-assigned name of the certificate.
|
void |
setCertificateOwner(String certificateOwner)
The owner of the certificate.
|
void |
setCertificatePem(String certificatePem)
The contents of the .pem X.509 certificate file.
|
void |
setKeyLength(Integer keyLength)
The key length of the cryptographic algorithm being used.
|
void |
setSigningAlgorithm(String signingAlgorithm)
The signing algorithm for the certificate.
|
void |
setValidFromDate(Date validFromDate)
The beginning date the certificate is valid.
|
void |
setValidToDate(Date validToDate)
the final date the certificate is valid.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Certificate |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
Certificate |
withCertificateCreationDate(Date certificateCreationDate)
the date the certificate was created.
|
Certificate |
withCertificateIdentifier(String certificateIdentifier)
The customer-assigned name of the certificate.
|
Certificate |
withCertificateOwner(String certificateOwner)
The owner of the certificate.
|
Certificate |
withCertificatePem(String certificatePem)
The contents of the .pem X.509 certificate file.
|
Certificate |
withKeyLength(Integer keyLength)
The key length of the cryptographic algorithm being used.
|
Certificate |
withSigningAlgorithm(String signingAlgorithm)
The signing algorithm for the certificate.
|
Certificate |
withValidFromDate(Date validFromDate)
The beginning date the certificate is valid.
|
Certificate |
withValidToDate(Date validToDate)
the final date the certificate is valid.
|
public void setCertificateIdentifier(String certificateIdentifier)
The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
certificateIdentifier - The customer-assigned name of the certificate. Valid characters are [A-z_0-9].public String getCertificateIdentifier()
The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
public Certificate withCertificateIdentifier(String certificateIdentifier)
The customer-assigned name of the certificate. Valid characters are [A-z_0-9].
certificateIdentifier - The customer-assigned name of the certificate. Valid characters are [A-z_0-9].public void setCertificateCreationDate(Date certificateCreationDate)
the date the certificate was created.
certificateCreationDate - the date the certificate was created.public Date getCertificateCreationDate()
the date the certificate was created.
public Certificate withCertificateCreationDate(Date certificateCreationDate)
the date the certificate was created.
certificateCreationDate - the date the certificate was created.public void setCertificatePem(String certificatePem)
The contents of the .pem X.509 certificate file.
certificatePem - The contents of the .pem X.509 certificate file.public String getCertificatePem()
The contents of the .pem X.509 certificate file.
public Certificate withCertificatePem(String certificatePem)
The contents of the .pem X.509 certificate file.
certificatePem - The contents of the .pem X.509 certificate file.public void setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
certificateArn - The Amazon Resource Name (ARN) for the certificate.public String getCertificateArn()
The Amazon Resource Name (ARN) for the certificate.
public Certificate withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
certificateArn - The Amazon Resource Name (ARN) for the certificate.public void setCertificateOwner(String certificateOwner)
The owner of the certificate.
certificateOwner - The owner of the certificate.public String getCertificateOwner()
The owner of the certificate.
public Certificate withCertificateOwner(String certificateOwner)
The owner of the certificate.
certificateOwner - The owner of the certificate.public void setValidFromDate(Date validFromDate)
The beginning date the certificate is valid.
validFromDate - The beginning date the certificate is valid.public Date getValidFromDate()
The beginning date the certificate is valid.
public Certificate withValidFromDate(Date validFromDate)
The beginning date the certificate is valid.
validFromDate - The beginning date the certificate is valid.public void setValidToDate(Date validToDate)
the final date the certificate is valid.
validToDate - the final date the certificate is valid.public Date getValidToDate()
the final date the certificate is valid.
public Certificate withValidToDate(Date validToDate)
the final date the certificate is valid.
validToDate - the final date the certificate is valid.public void setSigningAlgorithm(String signingAlgorithm)
The signing algorithm for the certificate.
signingAlgorithm - The signing algorithm for the certificate.public String getSigningAlgorithm()
The signing algorithm for the certificate.
public Certificate withSigningAlgorithm(String signingAlgorithm)
The signing algorithm for the certificate.
signingAlgorithm - The signing algorithm for the certificate.public void setKeyLength(Integer keyLength)
The key length of the cryptographic algorithm being used.
keyLength - The key length of the cryptographic algorithm being used.public Integer getKeyLength()
The key length of the cryptographic algorithm being used.
public Certificate withKeyLength(Integer keyLength)
The key length of the cryptographic algorithm being used.
keyLength - The key length of the cryptographic algorithm being used.public String toString()
toString in class ObjectObject.toString()public Certificate clone()
Copyright © 2016. All rights reserved.