Class 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:
    Serialized Form
    • Constructor Detail

      • HsmClientCertificate

        public HsmClientCertificate()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object