Class HsmConfiguration

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class HsmConfiguration
    extends Object
    implements Serializable, Cloneable

    Returns information about an HSM configuration, which is an object that describes to Amazon Redshift clusters the information they require to connect to an HSM where they can store database encryption keys.

    See Also:
    Serialized Form
    • Constructor Detail

      • HsmConfiguration

        public HsmConfiguration()
    • Method Detail

      • setHsmConfigurationIdentifier

        public void setHsmConfigurationIdentifier​(String hsmConfigurationIdentifier)

        The name of the Amazon Redshift HSM configuration.

        Parameters:
        hsmConfigurationIdentifier - The name of the Amazon Redshift HSM configuration.
      • getHsmConfigurationIdentifier

        public String getHsmConfigurationIdentifier()

        The name of the Amazon Redshift HSM configuration.

        Returns:
        The name of the Amazon Redshift HSM configuration.
      • withHsmConfigurationIdentifier

        public HsmConfiguration withHsmConfigurationIdentifier​(String hsmConfigurationIdentifier)

        The name of the Amazon Redshift HSM configuration.

        Parameters:
        hsmConfigurationIdentifier - The name of the Amazon Redshift HSM configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A text description of the HSM configuration.

        Parameters:
        description - A text description of the HSM configuration.
      • getDescription

        public String getDescription()

        A text description of the HSM configuration.

        Returns:
        A text description of the HSM configuration.
      • withDescription

        public HsmConfiguration withDescription​(String description)

        A text description of the HSM configuration.

        Parameters:
        description - A text description of the HSM configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHsmIpAddress

        public void setHsmIpAddress​(String hsmIpAddress)

        The IP address that the Amazon Redshift cluster must use to access the HSM.

        Parameters:
        hsmIpAddress - The IP address that the Amazon Redshift cluster must use to access the HSM.
      • getHsmIpAddress

        public String getHsmIpAddress()

        The IP address that the Amazon Redshift cluster must use to access the HSM.

        Returns:
        The IP address that the Amazon Redshift cluster must use to access the HSM.
      • withHsmIpAddress

        public HsmConfiguration withHsmIpAddress​(String hsmIpAddress)

        The IP address that the Amazon Redshift cluster must use to access the HSM.

        Parameters:
        hsmIpAddress - The IP address that the Amazon Redshift cluster must use to access the HSM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHsmPartitionName

        public void setHsmPartitionName​(String hsmPartitionName)

        The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.

        Parameters:
        hsmPartitionName - The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
      • getHsmPartitionName

        public String getHsmPartitionName()

        The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.

        Returns:
        The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
      • withHsmPartitionName

        public HsmConfiguration withHsmPartitionName​(String hsmPartitionName)

        The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.

        Parameters:
        hsmPartitionName - The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
        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 configuration.

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

        public void setTags​(Collection<Tag> tags)

        The list of tags for the HSM configuration.

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

        public HsmConfiguration withTags​(Tag... tags)

        The list of tags for the HSM configuration.

        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 configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public HsmConfiguration withTags​(Collection<Tag> tags)

        The list of tags for the HSM configuration.

        Parameters:
        tags - The list of tags for the HSM configuration.
        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