Class CreateHsmConfigurationRequest

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

public class CreateHsmConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • CreateHsmConfigurationRequest

      public CreateHsmConfigurationRequest()
  • Method Details

    • setHsmConfigurationIdentifier

      public void setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)

      The identifier to be assigned to the new Amazon Redshift HSM configuration.

      Parameters:
      hsmConfigurationIdentifier - The identifier to be assigned to the new Amazon Redshift HSM configuration.
    • getHsmConfigurationIdentifier

      public String getHsmConfigurationIdentifier()

      The identifier to be assigned to the new Amazon Redshift HSM configuration.

      Returns:
      The identifier to be assigned to the new Amazon Redshift HSM configuration.
    • withHsmConfigurationIdentifier

      public CreateHsmConfigurationRequest withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)

      The identifier to be assigned to the new Amazon Redshift HSM configuration.

      Parameters:
      hsmConfigurationIdentifier - The identifier to be assigned to the new 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 to be created.

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

      public String getDescription()

      A text description of the HSM configuration to be created.

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

      public CreateHsmConfigurationRequest withDescription(String description)

      A text description of the HSM configuration to be created.

      Parameters:
      description - A text description of the HSM configuration to be created.
      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 CreateHsmConfigurationRequest 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 CreateHsmConfigurationRequest 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.
    • setHsmPartitionPassword

      public void setHsmPartitionPassword(String hsmPartitionPassword)

      The password required to access the HSM partition.

      Parameters:
      hsmPartitionPassword - The password required to access the HSM partition.
    • getHsmPartitionPassword

      public String getHsmPartitionPassword()

      The password required to access the HSM partition.

      Returns:
      The password required to access the HSM partition.
    • withHsmPartitionPassword

      public CreateHsmConfigurationRequest withHsmPartitionPassword(String hsmPartitionPassword)

      The password required to access the HSM partition.

      Parameters:
      hsmPartitionPassword - The password required to access the HSM partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHsmServerPublicCertificate

      public void setHsmServerPublicCertificate(String hsmServerPublicCertificate)

      The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.

      Parameters:
      hsmServerPublicCertificate - The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
    • getHsmServerPublicCertificate

      public String getHsmServerPublicCertificate()

      The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.

      Returns:
      The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
    • withHsmServerPublicCertificate

      public CreateHsmConfigurationRequest withHsmServerPublicCertificate(String hsmServerPublicCertificate)

      The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.

      Parameters:
      hsmServerPublicCertificate - The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTags

      public List<Tag> getTags()

      A list of tag instances.

      Returns:
      A list of tag instances.
    • setTags

      public void setTags(Collection<Tag> tags)

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
    • withTags

      public CreateHsmConfigurationRequest withTags(Tag... tags)

      A list of tag instances.

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

      public CreateHsmConfigurationRequest withTags(Collection<Tag> tags)

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
      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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: