public class Certificate extends Object implements Serializable, Cloneable
A CA certificate for an AWS account.
Constructor and Description |
---|
Certificate() |
Modifier and Type | Method and Description |
---|---|
Certificate |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateIdentifier()
The unique key that identifies a certificate.
|
String |
getCertificateType()
The type of the certificate.
|
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() |
void |
setCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
|
void |
setCertificateType(String certificateType)
The type of the certificate.
|
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; useful for testing and
debugging.
|
Certificate |
withCertificateIdentifier(String certificateIdentifier)
The unique key that identifies a certificate.
|
Certificate |
withCertificateType(String certificateType)
The type of the certificate.
|
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 String getCertificateIdentifier()
public void setCertificateIdentifier(String certificateIdentifier)
certificateIdentifier
- The unique key that identifies a certificate.public Certificate withCertificateIdentifier(String certificateIdentifier)
Returns a reference to this object so that method calls can be chained together.
certificateIdentifier
- The unique key that identifies a certificate.public String getCertificateType()
public void setCertificateType(String certificateType)
certificateType
- The type of the certificate.public Certificate withCertificateType(String certificateType)
Returns a reference to this object so that method calls can be chained together.
certificateType
- The type of the certificate.public String getThumbprint()
public void setThumbprint(String thumbprint)
thumbprint
- The thumbprint of the certificate.public Certificate withThumbprint(String thumbprint)
Returns a reference to this object so that method calls can be chained together.
thumbprint
- The thumbprint of the certificate.public Date getValidFrom()
public void setValidFrom(Date validFrom)
validFrom
- The starting date from which the certificate is valid.public Certificate withValidFrom(Date validFrom)
Returns a reference to this object so that method calls can be chained together.
validFrom
- The starting date from which the certificate is valid.public Date getValidTill()
public void setValidTill(Date validTill)
validTill
- The final date that the certificate continues to be valid.public Certificate withValidTill(Date validTill)
Returns a reference to this object so that method calls can be chained together.
validTill
- The final date that the certificate continues to be valid.public String toString()
toString
in class Object
Object.toString()
public Certificate clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.