@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
Constructor and Description |
---|
HsmConfiguration() |
Modifier and Type | Method and Description |
---|---|
HsmConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A text description of the HSM configuration.
|
String |
getHsmConfigurationIdentifier()
The name of the Amazon Redshift HSM configuration.
|
String |
getHsmIpAddress()
The IP address that the Amazon Redshift cluster must use to access the HSM.
|
String |
getHsmPartitionName()
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption
keys.
|
List<Tag> |
getTags()
The list of tags for the HSM configuration.
|
int |
hashCode() |
void |
setDescription(String description)
A text description of the HSM configuration.
|
void |
setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
|
void |
setHsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.
|
void |
setHsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption
keys.
|
void |
setTags(Collection<Tag> tags)
The list of tags for the HSM configuration.
|
String |
toString()
Returns a string representation of this object.
|
HsmConfiguration |
withDescription(String description)
A text description of the HSM configuration.
|
HsmConfiguration |
withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
|
HsmConfiguration |
withHsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.
|
HsmConfiguration |
withHsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption
keys.
|
HsmConfiguration |
withTags(Collection<Tag> tags)
The list of tags for the HSM configuration.
|
HsmConfiguration |
withTags(Tag... tags)
The list of tags for the HSM configuration.
|
public void setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public String getHsmConfigurationIdentifier()
The name of the Amazon Redshift HSM configuration.
public HsmConfiguration withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public void setDescription(String description)
A text description of the HSM configuration.
description
- A text description of the HSM configuration.public String getDescription()
A text description of the HSM configuration.
public HsmConfiguration withDescription(String description)
A text description of the HSM configuration.
description
- A text description of the HSM configuration.public void setHsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.
hsmIpAddress
- The IP address that the Amazon Redshift cluster must use to access the HSM.public String getHsmIpAddress()
The IP address that the Amazon Redshift cluster must use to access the HSM.
public HsmConfiguration withHsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.
hsmIpAddress
- The IP address that the Amazon Redshift cluster must use to access the HSM.public void setHsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
hsmPartitionName
- The name of the partition in the HSM where the Amazon Redshift clusters will store their database
encryption keys.public String getHsmPartitionName()
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
public HsmConfiguration withHsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
hsmPartitionName
- The name of the partition in the HSM where the Amazon Redshift clusters will store their database
encryption keys.public List<Tag> getTags()
The list of tags for the HSM configuration.
public void setTags(Collection<Tag> tags)
The list of tags for the HSM configuration.
tags
- The list of tags for the HSM configuration.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.
tags
- The list of tags for the HSM configuration.public HsmConfiguration withTags(Collection<Tag> tags)
The list of tags for the HSM configuration.
tags
- The list of tags for the HSM configuration.public String toString()
toString
in class Object
Object.toString()
public HsmConfiguration clone()