public class ServerCertificateMetadata
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about a server certificate without its certificate body, certificate chain, and private key.
This data type is used as a response element in the UploadServerCertificate and ListServerCertificates actions.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
arn
The Amazon Resource Name (ARN) specifying the server certificate.
|
private java.util.Date |
expiration
The date on which the certificate is set to expire.
|
private java.lang.String |
path
The path to the server certificate.
|
private java.lang.String |
serverCertificateId
The stable and unique string identifying the server certificate.
|
private java.lang.String |
serverCertificateName
The name that identifies the server certificate.
|
private java.util.Date |
uploadDate
The date when the server certificate was uploaded.
|
Constructor and Description |
---|
ServerCertificateMetadata()
Default constructor for ServerCertificateMetadata object.
|
ServerCertificateMetadata(java.lang.String path,
java.lang.String serverCertificateName,
java.lang.String serverCertificateId,
java.lang.String arn)
Constructs a new ServerCertificateMetadata object.
|
Modifier and Type | Method and Description |
---|---|
ServerCertificateMetadata |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) specifying the server certificate.
|
java.util.Date |
getExpiration()
The date on which the certificate is set to expire.
|
java.lang.String |
getPath()
The path to the server certificate.
|
java.lang.String |
getServerCertificateId()
The stable and unique string identifying the server certificate.
|
java.lang.String |
getServerCertificateName()
The name that identifies the server certificate.
|
java.util.Date |
getUploadDate()
The date when the server certificate was uploaded.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) specifying the server certificate.
|
void |
setExpiration(java.util.Date expiration)
The date on which the certificate is set to expire.
|
void |
setPath(java.lang.String path)
The path to the server certificate.
|
void |
setServerCertificateId(java.lang.String serverCertificateId)
The stable and unique string identifying the server certificate.
|
void |
setServerCertificateName(java.lang.String serverCertificateName)
The name that identifies the server certificate.
|
void |
setUploadDate(java.util.Date uploadDate)
The date when the server certificate was uploaded.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ServerCertificateMetadata |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) specifying the server certificate.
|
ServerCertificateMetadata |
withExpiration(java.util.Date expiration)
The date on which the certificate is set to expire.
|
ServerCertificateMetadata |
withPath(java.lang.String path)
The path to the server certificate.
|
ServerCertificateMetadata |
withServerCertificateId(java.lang.String serverCertificateId)
The stable and unique string identifying the server certificate.
|
ServerCertificateMetadata |
withServerCertificateName(java.lang.String serverCertificateName)
The name that identifies the server certificate.
|
ServerCertificateMetadata |
withUploadDate(java.util.Date uploadDate)
The date when the server certificate was uploaded.
|
private java.lang.String path
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
private java.lang.String serverCertificateName
The name that identifies the server certificate.
private java.lang.String serverCertificateId
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
private java.lang.String arn
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
private java.util.Date uploadDate
The date when the server certificate was uploaded.
private java.util.Date expiration
The date on which the certificate is set to expire.
public ServerCertificateMetadata()
public ServerCertificateMetadata(java.lang.String path, java.lang.String serverCertificateName, java.lang.String serverCertificateId, java.lang.String arn)
path
- The path to the server certificate. For more information about
paths, see IAM Identifiers in the Using IAM guide.serverCertificateName
- The name that identifies the server certificate.serverCertificateId
- The stable and unique string identifying the server certificate.
For more information about IDs, see IAM Identifiers in the Using IAM guide.arn
- The Amazon Resource Name (ARN) specifying the server certificate.
For more information about ARNs and how to use them in policies,
see IAM Identifiers in the Using IAM guide.public void setPath(java.lang.String path)
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the server certificate. For more information about
paths, see IAM Identifiers in the Using IAM guide.public java.lang.String getPath()
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
public ServerCertificateMetadata withPath(java.lang.String path)
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
path
- The path to the server certificate. For more information about
paths, see IAM Identifiers in the Using IAM guide.public void setServerCertificateName(java.lang.String serverCertificateName)
The name that identifies the server certificate.
serverCertificateName
- The name that identifies the server certificate.public java.lang.String getServerCertificateName()
The name that identifies the server certificate.
public ServerCertificateMetadata withServerCertificateName(java.lang.String serverCertificateName)
The name that identifies the server certificate.
serverCertificateName
- The name that identifies the server certificate.public void setServerCertificateId(java.lang.String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
serverCertificateId
- The stable and unique string identifying the server certificate.
For more information about IDs, see IAM Identifiers in the Using IAM guide.public java.lang.String getServerCertificateId()
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
public ServerCertificateMetadata withServerCertificateId(java.lang.String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
serverCertificateId
- The stable and unique string identifying the server certificate.
For more information about IDs, see IAM Identifiers in the Using IAM guide.public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
arn
- The Amazon Resource Name (ARN) specifying the server certificate.
For more information about ARNs and how to use them in policies,
see IAM Identifiers in the Using IAM guide.public java.lang.String getArn()
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
public ServerCertificateMetadata withArn(java.lang.String arn)
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.
arn
- The Amazon Resource Name (ARN) specifying the server certificate.
For more information about ARNs and how to use them in policies,
see IAM Identifiers in the Using IAM guide.public void setUploadDate(java.util.Date uploadDate)
The date when the server certificate was uploaded.
uploadDate
- The date when the server certificate was uploaded.public java.util.Date getUploadDate()
The date when the server certificate was uploaded.
public ServerCertificateMetadata withUploadDate(java.util.Date uploadDate)
The date when the server certificate was uploaded.
uploadDate
- The date when the server certificate was uploaded.public void setExpiration(java.util.Date expiration)
The date on which the certificate is set to expire.
expiration
- The date on which the certificate is set to expire.public java.util.Date getExpiration()
The date on which the certificate is set to expire.
public ServerCertificateMetadata withExpiration(java.util.Date expiration)
The date on which the certificate is set to expire.
expiration
- The date on which the certificate is set to expire.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ServerCertificateMetadata clone()
clone
in class java.lang.Object