Class ServerCertificateMetadata
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.ServerCertificateMetadata
-
- All Implemented Interfaces:
Serializable
,Cloneable
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 actions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerCertificateMetadata()
Default constructor for ServerCertificateMetadata object.ServerCertificateMetadata(String path, String serverCertificateName, String serverCertificateId, String arn)
Constructs a new ServerCertificateMetadata object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; 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)
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.
-
-
-
Constructor Detail
-
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 Detail
-
setPath
public void setPath(String path)
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
public String 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
public ServerCertificateMetadata withPath(String path)
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
public void setServerCertificateName(String serverCertificateName)
The name that identifies the server certificate.
- Parameters:
serverCertificateName
- The name that identifies the server certificate.
-
getServerCertificateName
public String getServerCertificateName()
The name that identifies the server certificate.
- Returns:
- The name that identifies the server certificate.
-
withServerCertificateName
public ServerCertificateMetadata withServerCertificateName(String serverCertificateName)
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
public void setServerCertificateId(String serverCertificateId)
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
public String 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
public ServerCertificateMetadata withServerCertificateId(String serverCertificateId)
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
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 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
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 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
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 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
public void setUploadDate(Date uploadDate)
The date when the server certificate was uploaded.
- Parameters:
uploadDate
- The date when the server certificate was uploaded.
-
getUploadDate
public Date getUploadDate()
The date when the server certificate was uploaded.
- Returns:
- The date when the server certificate was uploaded.
-
withUploadDate
public ServerCertificateMetadata withUploadDate(Date uploadDate)
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
public void setExpiration(Date expiration)
The date on which the certificate is set to expire.
- Parameters:
expiration
- The date on which the certificate is set to expire.
-
getExpiration
public Date getExpiration()
The date on which the certificate is set to expire.
- Returns:
- The date on which the certificate is set to expire.
-
withExpiration
public ServerCertificateMetadata withExpiration(Date expiration)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ServerCertificateMetadata clone()
-
-