@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()
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 for the certificate.
|
ByteBuffer |
getCertificateWallet()
The location of the 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)
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 for the certificate.
|
void |
setCertificateWallet(ByteBuffer certificateWallet)
The location of the 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; useful for testing and debugging.
|
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)
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 for the certificate.
|
Certificate |
withCertificateWallet(ByteBuffer certificateWallet)
The location of the 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)
The customer-assigned name of the certificate. Valid characters are A-z and 0-9.
certificateIdentifier
- The customer-assigned name of the certificate. Valid characters are A-z and 0-9.public String getCertificateIdentifier()
The customer-assigned name of the certificate. Valid characters are A-z and 0-9.
public Certificate withCertificateIdentifier(String certificateIdentifier)
The customer-assigned name of the certificate. Valid characters are A-z and 0-9.
certificateIdentifier
- The customer-assigned name of the certificate. Valid characters are A-z and 0-9.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 the .pem X.509 certificate file for the certificate.
certificatePem
- The contents of the .pem X.509 certificate file for the certificate.public String getCertificatePem()
The contents of the .pem X.509 certificate file for the certificate.
public Certificate withCertificatePem(String certificatePem)
The contents of the .pem X.509 certificate file for the certificate.
certificatePem
- The contents of the .pem X.509 certificate file for the certificate.public void setCertificateWallet(ByteBuffer certificateWallet)
The location of the imported Oracle Wallet certificate for use with SSL.
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 the imported Oracle Wallet certificate for use with SSL.public ByteBuffer getCertificateWallet()
The location of the imported Oracle Wallet certificate for use with SSL.
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
.
public Certificate withCertificateWallet(ByteBuffer certificateWallet)
The location of the imported Oracle Wallet certificate for use with SSL.
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 the imported Oracle Wallet certificate for use with SSL.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.