@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Certificate extends Object implements Serializable, Cloneable, StructuredPojo
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 that the certificate was created.
|
String |
getCertificateIdentifier()
A customer-assigned name for the certificate.
|
String |
getCertificateOwner()
The owner of the certificate.
|
String |
getCertificatePem()
The contents of a
.pem file, which contains an X.509 certificate. |
ByteBuffer |
getCertificateWallet()
The location of an imported Oracle Wallet certificate for use with SSL.
|
Integer |
getKeyLength()
The key length of the cryptographic algorithm being used.
|
String |
getSigningAlgorithm()
The signing algorithm for the certificate.
|
Date |
getValidFromDate()
The beginning date that the certificate is valid.
|
Date |
getValidToDate()
The final date that the certificate is valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
void |
setCertificateCreationDate(Date certificateCreationDate)
The date that the certificate was created.
|
void |
setCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate.
|
void |
setCertificateOwner(String certificateOwner)
The owner of the certificate.
|
void |
setCertificatePem(String certificatePem)
The contents of a
.pem file, which contains an X.509 certificate. |
void |
setCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL.
|
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 that the certificate is valid.
|
void |
setValidToDate(Date validToDate)
The final date that the certificate is valid.
|
String |
toString()
Returns a string representation of this object.
|
Certificate |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
Certificate |
withCertificateCreationDate(Date certificateCreationDate)
The date that the certificate was created.
|
Certificate |
withCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate.
|
Certificate |
withCertificateOwner(String certificateOwner)
The owner of the certificate.
|
Certificate |
withCertificatePem(String certificatePem)
The contents of a
.pem file, which contains an X.509 certificate. |
Certificate |
withCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL.
|
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 that the certificate is valid.
|
Certificate |
withValidToDate(Date validToDate)
The final date that the certificate is valid.
|
public void setCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
certificateIdentifier
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only
ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public String getCertificateIdentifier()
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
public Certificate withCertificateIdentifier(String certificateIdentifier)
A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
certificateIdentifier
- A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only
ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.public void setCertificateCreationDate(Date certificateCreationDate)
The date that the certificate was created.
certificateCreationDate
- The date that the certificate was created.public Date getCertificateCreationDate()
The date that the certificate was created.
public Certificate withCertificateCreationDate(Date certificateCreationDate)
The date that the certificate was created.
certificateCreationDate
- The date that the certificate was created.public void setCertificatePem(String certificatePem)
The contents of a .pem
file, which contains an X.509 certificate.
certificatePem
- The contents of a .pem
file, which contains an X.509 certificate.public String getCertificatePem()
The contents of a .pem
file, which contains an X.509 certificate.
.pem
file, which contains an X.509 certificate.public Certificate withCertificatePem(String certificatePem)
The contents of a .pem
file, which contains an X.509 certificate.
certificatePem
- The contents of a .pem
file, which contains an X.509 certificate.public void setCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificateWallet
- The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
public ByteBuffer getCertificateWallet()
The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
filebase64("${path.root}/rds-ca-2019-root.sso")
public Certificate withCertificateWallet(ByteBuffer certificateWallet)
The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
certificateWallet
- The location of an imported Oracle Wallet certificate for use with SSL. Example:
filebase64("${path.root}/rds-ca-2019-root.sso")
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 that the certificate is valid.
validFromDate
- The beginning date that the certificate is valid.public Date getValidFromDate()
The beginning date that the certificate is valid.
public Certificate withValidFromDate(Date validFromDate)
The beginning date that the certificate is valid.
validFromDate
- The beginning date that the certificate is valid.public void setValidToDate(Date validToDate)
The final date that the certificate is valid.
validToDate
- The final date that the certificate is valid.public Date getValidToDate()
The final date that the certificate is valid.
public Certificate withValidToDate(Date validToDate)
The final date that the certificate is valid.
validToDate
- The final date that 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 Object
Object.toString()
public Certificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.