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:
  • 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

      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ServerCertificateMetadata clone()
      Overrides:
      clone in class Object