@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerCertificateMetadata extends Object implements Serializable, 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 operations.
Constructor and Description |
---|
ServerCertificateMetadata()
Default constructor for ServerCertificateMetadata object.
|
ServerCertificateMetadata(String path,
String serverCertificateName,
String serverCertificateId,
String arn)
Constructs a new ServerCertificateMetadata object.
|
Modifier and Type | Method and Description |
---|---|
ServerCertificateMetadata |
clone() |
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()
The 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)
The 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.
|
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)
The 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
- The path to the server certificate. For more information about paths, see IAM identifiers in the
IAM User 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
IAM User 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
IAM User Guide.public void setPath(String path)
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the server certificate. For more information about paths, see IAM identifiers in the
IAM User Guide.public String getPath()
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
public ServerCertificateMetadata withPath(String path)
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
path
- The path to the server certificate. For more information about paths, see IAM identifiers in the
IAM User Guide.public void setServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.
serverCertificateName
- The name that identifies the server certificate.public String getServerCertificateName()
The name that identifies the server certificate.
public ServerCertificateMetadata withServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.
serverCertificateName
- The name that identifies the server certificate.public void setServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
serverCertificateId
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the
IAM User Guide.public String getServerCertificateId()
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
public ServerCertificateMetadata withServerCertificateId(String serverCertificateId)
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
serverCertificateId
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the
IAM User Guide.public void setArn(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 IAM User 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
IAM User Guide.public 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 IAM User Guide.
public ServerCertificateMetadata withArn(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 IAM User 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
IAM User Guide.public void setUploadDate(Date uploadDate)
The date when the server certificate was uploaded.
uploadDate
- The date when the server certificate was uploaded.public Date getUploadDate()
The date when the server certificate was uploaded.
public ServerCertificateMetadata withUploadDate(Date uploadDate)
The date when the server certificate was uploaded.
uploadDate
- The date when the server certificate was uploaded.public void setExpiration(Date expiration)
The date on which the certificate is set to expire.
expiration
- The date on which the certificate is set to expire.public Date getExpiration()
The date on which the certificate is set to expire.
public ServerCertificateMetadata withExpiration(Date expiration)
The date on which the certificate is set to expire.
expiration
- The date on which the certificate is set to expire.public String toString()
toString
in class Object
Object.toString()
public ServerCertificateMetadata clone()