Class ServerCertificateMetadata
- All Implemented Interfaces:
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 actions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ServerCertificateMetadata object.ServerCertificateMetadata
(String path, String serverCertificateName, String serverCertificateId, String arn) Constructs a new ServerCertificateMetadata object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The Amazon Resource Name (ARN) specifying the server certificate.The date on which the certificate is set to expire.getPath()
The path to the server certificate.The stable and unique string identifying the server certificate.The name that identifies the server certificate.The date when the server certificate was uploaded.int
hashCode()
void
The Amazon Resource Name (ARN) specifying the server certificate.void
setExpiration
(Date expiration) The date on which the certificate is set to expire.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The Amazon Resource Name (ARN) specifying the server certificate.withExpiration
(Date expiration) The date on which the certificate is set to expire.The path to the server certificate.withServerCertificateId
(String serverCertificateId) The stable and unique string identifying the server certificate.withServerCertificateName
(String serverCertificateName) The name that identifies the server certificate.withUploadDate
(Date uploadDate) The date when the server certificate was uploaded.
-
Constructor Details
-
ServerCertificateMetadata
public ServerCertificateMetadata()Default constructor for ServerCertificateMetadata object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ServerCertificateMetadata
public ServerCertificateMetadata(String path, String serverCertificateName, String serverCertificateId, String arn) Constructs a new ServerCertificateMetadata object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setPath
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Parameters:
path
- The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
-
getPath
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Returns:
- The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
-
withPath
The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.
- Parameters:
path
- The path to the server certificate. For more information about paths, see IAM Identifiers in the Using IAM guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServerCertificateName
The name that identifies the server certificate.
- Parameters:
serverCertificateName
- The name that identifies the server certificate.
-
getServerCertificateName
The name that identifies the server certificate.
- Returns:
- The name that identifies the server certificate.
-
withServerCertificateName
The name that identifies the server certificate.
- Parameters:
serverCertificateName
- The name that identifies the server certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setServerCertificateId
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Parameters:
serverCertificateId
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
-
getServerCertificateId
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Returns:
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
-
withServerCertificateId
The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.
- Parameters:
serverCertificateId
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM Identifiers in the Using IAM guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadDate
The date when the server certificate was uploaded.
- Parameters:
uploadDate
- The date when the server certificate was uploaded.
-
getUploadDate
The date when the server certificate was uploaded.
- Returns:
- The date when the server certificate was uploaded.
-
withUploadDate
The date when the server certificate was uploaded.
- Parameters:
uploadDate
- The date when the server certificate was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpiration
The date on which the certificate is set to expire.
- Parameters:
expiration
- The date on which the certificate is set to expire.
-
getExpiration
The date on which the certificate is set to expire.
- Returns:
- The date on which the certificate is set to expire.
-
withExpiration
The date on which the certificate is set to expire.
- Parameters:
expiration
- The date on which the certificate is set to expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-