@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Certificate extends Object implements Serializable, Cloneable
A CA certificate for an Amazon Web Services account.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
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.
|
String |
getCertificateIdentifier()
The unique key that identifies a certificate.
|
String |
getCertificateType()
The type of the certificate.
|
Boolean |
getCustomerOverride()
Indicates whether there is an override for the default certificate identifier.
|
Date |
getCustomerOverrideValidTill()
If there is an override for the default certificate identifier, when the override expires.
|
String |
getThumbprint()
The thumbprint of the certificate.
|
Date |
getValidFrom()
The starting date from which the certificate is valid.
|
Date |
getValidTill()
The final date that the certificate continues to be valid.
|
int |
hashCode() |
Boolean |
isCustomerOverride()
Indicates whether there is an override for the default certificate identifier.
|
void |
setCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
void |
setCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
|
void |
setCertificateType(String certificateType)
The type of the certificate.
|
void |
setCustomerOverride(Boolean customerOverride)
Indicates whether there is an override for the default certificate identifier.
|
void |
setCustomerOverrideValidTill(Date customerOverrideValidTill)
If there is an override for the default certificate identifier, when the override expires.
|
void |
setThumbprint(String thumbprint)
The thumbprint of the certificate.
|
void |
setValidFrom(Date validFrom)
The starting date from which the certificate is valid.
|
void |
setValidTill(Date validTill)
The final date that the certificate continues to be valid.
|
String |
toString()
Returns a string representation of this object.
|
Certificate |
withCertificateArn(String certificateArn)
The Amazon Resource Name (ARN) for the certificate.
|
Certificate |
withCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
|
Certificate |
withCertificateType(String certificateType)
The type of the certificate.
|
Certificate |
withCustomerOverride(Boolean customerOverride)
Indicates whether there is an override for the default certificate identifier.
|
Certificate |
withCustomerOverrideValidTill(Date customerOverrideValidTill)
If there is an override for the default certificate identifier, when the override expires.
|
Certificate |
withThumbprint(String thumbprint)
The thumbprint of the certificate.
|
Certificate |
withValidFrom(Date validFrom)
The starting date from which the certificate is valid.
|
Certificate |
withValidTill(Date validTill)
The final date that the certificate continues to be valid.
|
public void setCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
certificateIdentifier
- The unique key that identifies a certificate.public String getCertificateIdentifier()
The unique key that identifies a certificate.
public Certificate withCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
certificateIdentifier
- The unique key that identifies a certificate.public void setCertificateType(String certificateType)
The type of the certificate.
certificateType
- The type of the certificate.public String getCertificateType()
The type of the certificate.
public Certificate withCertificateType(String certificateType)
The type of the certificate.
certificateType
- The type of the certificate.public void setThumbprint(String thumbprint)
The thumbprint of the certificate.
thumbprint
- The thumbprint of the certificate.public String getThumbprint()
The thumbprint of the certificate.
public Certificate withThumbprint(String thumbprint)
The thumbprint of the certificate.
thumbprint
- The thumbprint of the certificate.public void setValidFrom(Date validFrom)
The starting date from which the certificate is valid.
validFrom
- The starting date from which the certificate is valid.public Date getValidFrom()
The starting date from which the certificate is valid.
public Certificate withValidFrom(Date validFrom)
The starting date from which the certificate is valid.
validFrom
- The starting date from which the certificate is valid.public void setValidTill(Date validTill)
The final date that the certificate continues to be valid.
validTill
- The final date that the certificate continues to be valid.public Date getValidTill()
The final date that the certificate continues to be valid.
public Certificate withValidTill(Date validTill)
The final date that the certificate continues to be valid.
validTill
- The final date that the certificate continues to be valid.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 setCustomerOverride(Boolean customerOverride)
Indicates whether there is an override for the default certificate identifier.
customerOverride
- Indicates whether there is an override for the default certificate identifier.public Boolean getCustomerOverride()
Indicates whether there is an override for the default certificate identifier.
public Certificate withCustomerOverride(Boolean customerOverride)
Indicates whether there is an override for the default certificate identifier.
customerOverride
- Indicates whether there is an override for the default certificate identifier.public Boolean isCustomerOverride()
Indicates whether there is an override for the default certificate identifier.
public void setCustomerOverrideValidTill(Date customerOverrideValidTill)
If there is an override for the default certificate identifier, when the override expires.
customerOverrideValidTill
- If there is an override for the default certificate identifier, when the override expires.public Date getCustomerOverrideValidTill()
If there is an override for the default certificate identifier, when the override expires.
public Certificate withCustomerOverrideValidTill(Date customerOverrideValidTill)
If there is an override for the default certificate identifier, when the override expires.
customerOverrideValidTill
- If there is an override for the default certificate identifier, when the override expires.public String toString()
toString
in class Object
Object.toString()
public Certificate clone()