Class HsmClientCertificate

java.lang.Object
com.amazonaws.services.redshift.model.HsmClientCertificate
All Implemented Interfaces:
Serializable, Cloneable

public class HsmClientCertificate extends Object implements Serializable, Cloneable

Returns information about an HSM client certificate. The certificate is stored in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift cluster to encrypt data files.

See Also:
  • Constructor Details

    • HsmClientCertificate

      public HsmClientCertificate()
  • Method Details

    • setHsmClientCertificateIdentifier

      public void setHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)

      The identifier of the HSM client certificate.

      Parameters:
      hsmClientCertificateIdentifier - The identifier of the HSM client certificate.
    • getHsmClientCertificateIdentifier

      public String getHsmClientCertificateIdentifier()

      The identifier of the HSM client certificate.

      Returns:
      The identifier of the HSM client certificate.
    • withHsmClientCertificateIdentifier

      public HsmClientCertificate withHsmClientCertificateIdentifier(String hsmClientCertificateIdentifier)

      The identifier of the HSM client certificate.

      Parameters:
      hsmClientCertificateIdentifier - The identifier of the HSM client certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHsmClientCertificatePublicKey

      public void setHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)

      The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.

      Parameters:
      hsmClientCertificatePublicKey - The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
    • getHsmClientCertificatePublicKey

      public String getHsmClientCertificatePublicKey()

      The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.

      Returns:
      The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
    • withHsmClientCertificatePublicKey

      public HsmClientCertificate withHsmClientCertificatePublicKey(String hsmClientCertificatePublicKey)

      The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.

      Parameters:
      hsmClientCertificatePublicKey - The public key that the Amazon Redshift cluster will use to connect to the HSM. You must register the public key in the HSM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTags

      public List<Tag> getTags()

      The list of tags for the HSM client certificate.

      Returns:
      The list of tags for the HSM client certificate.
    • setTags

      public void setTags(Collection<Tag> tags)

      The list of tags for the HSM client certificate.

      Parameters:
      tags - The list of tags for the HSM client certificate.
    • withTags

      public HsmClientCertificate withTags(Tag... tags)

      The list of tags for the HSM client certificate.

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - The list of tags for the HSM client certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public HsmClientCertificate withTags(Collection<Tag> tags)

      The list of tags for the HSM client certificate.

      Parameters:
      tags - The list of tags for the HSM client certificate.
      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 HsmClientCertificate clone()
      Overrides:
      clone in class Object