public class ServerCertificateMetadata extends Object implements Serializable
ServerCertificateMetadata 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 action UploadServerCertificate and ListServerCertificates.
Constructor and Description |
---|
ServerCertificateMetadata()
Default constructor for a new ServerCertificateMetadata object.
|
ServerCertificateMetadata(String path,
String serverCertificateName,
String serverCertificateId,
String arn)
Constructs a new ServerCertificateMetadata object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) specifying the server certificate.
|
Date |
getExpiration()
The date on which the certificate is set to expire.
|
String |
getPath()
Path to the server certificate.
|
String |
getServerCertificateId()
The stable and unique string identifying the server certificate.
|
String |
getServerCertificateName()
The name that identifies the server certificate.
|
Date |
getUploadDate()
The date when the server certificate was uploaded.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) specifying the server certificate.
|
void |
setExpiration(Date expiration)
The date on which the certificate is set to expire.
|
void |
setPath(String path)
Path to the server certificate.
|
void |
setServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate.
|
void |
setServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.
|
void |
setUploadDate(Date uploadDate)
The date when the server certificate was uploaded.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ServerCertificateMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) specifying the server certificate.
|
ServerCertificateMetadata |
withExpiration(Date expiration)
The date on which the certificate is set to expire.
|
ServerCertificateMetadata |
withPath(String path)
Path to the server certificate.
|
ServerCertificateMetadata |
withServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate.
|
ServerCertificateMetadata |
withServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.
|
ServerCertificateMetadata |
withUploadDate(Date uploadDate)
The date when the server certificate was uploaded.
|
public ServerCertificateMetadata()
public ServerCertificateMetadata(String path, String serverCertificateName, String serverCertificateId, String arn)
path
- Path to the server certificate. For more information about
paths, see Identifiers
for IAM Entities 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 Identifiers
for IAM Entities 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 Identifiers
for IAM Entities in the Using IAM guide.public String getPath()
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
public void setPath(String path)
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path
- Path to the server certificate. For more information about paths, see
Identifiers
for IAM Entities in the Using IAM guide.public ServerCertificateMetadata withPath(String path)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (\u002F)|(\u002F[\u0021-\u007F]+\u002F)
path
- Path to the server certificate. For more information about paths, see
Identifiers
for IAM Entities in the Using IAM guide.public String getServerCertificateName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setServerCertificateName(String serverCertificateName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
serverCertificateName
- The name that identifies the server certificate.public ServerCertificateMetadata withServerCertificateName(String serverCertificateName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
serverCertificateName
- The name that identifies the server certificate.public String getServerCertificateId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setServerCertificateId(String serverCertificateId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
serverCertificateId
- The stable and unique string identifying the server certificate. For
more information about IDs, see Identifiers
for IAM Entities in the Using IAM guide.public ServerCertificateMetadata withServerCertificateId(String serverCertificateId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
serverCertificateId
- The stable and unique string identifying the server certificate. For
more information about IDs, see Identifiers
for IAM Entities in the Using IAM guide.public String getArn()
Constraints:
Length: 20 - 2048
public void setArn(String arn)
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the server certificate. For
more information about ARNs and how to use them in policies, see Identifiers
for IAM Entities in the Using IAM guide.public ServerCertificateMetadata withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
arn
- The Amazon Resource Name (ARN) specifying the server certificate. For
more information about ARNs and how to use them in policies, see Identifiers
for IAM Entities in the Using IAM guide.public Date getUploadDate()
public void setUploadDate(Date uploadDate)
uploadDate
- The date when the server certificate was uploaded.public ServerCertificateMetadata withUploadDate(Date uploadDate)
Returns a reference to this object so that method calls can be chained together.
uploadDate
- The date when the server certificate was uploaded.public Date getExpiration()
public void setExpiration(Date expiration)
expiration
- The date on which the certificate is set to expire.public ServerCertificateMetadata withExpiration(Date expiration)
Returns a reference to this object so that method calls can be chained together.
expiration
- The date on which the certificate is set to expire.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.