public class HsmConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A text description of the HSM configuration.
|
private java.lang.String |
hsmConfigurationIdentifier
The name of the Amazon Redshift HSM configuration.
|
private java.lang.String |
hsmIpAddress
The IP address that the Amazon Redshift cluster must use to access the
HSM.
|
private java.lang.String |
hsmPartitionName
The name of the partition in the HSM where the Amazon Redshift clusters
will store their database encryption keys.
|
private SdkInternalList<Tag> |
tags
The list of tags for the HSM configuration.
|
Constructor and Description |
---|
HsmConfiguration() |
Modifier and Type | Method and Description |
---|---|
HsmConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A text description of the HSM configuration.
|
java.lang.String |
getHsmConfigurationIdentifier()
The name of the Amazon Redshift HSM configuration.
|
java.lang.String |
getHsmIpAddress()
The IP address that the Amazon Redshift cluster must use to access the
HSM.
|
java.lang.String |
getHsmPartitionName()
The name of the partition in the HSM where the Amazon Redshift clusters
will store their database encryption keys.
|
java.util.List<Tag> |
getTags()
The list of tags for the HSM configuration.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A text description of the HSM configuration.
|
void |
setHsmConfigurationIdentifier(java.lang.String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
|
void |
setHsmIpAddress(java.lang.String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the
HSM.
|
void |
setHsmPartitionName(java.lang.String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters
will store their database encryption keys.
|
void |
setTags(java.util.Collection<Tag> tags)
The list of tags for the HSM configuration.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HsmConfiguration |
withDescription(java.lang.String description)
A text description of the HSM configuration.
|
HsmConfiguration |
withHsmConfigurationIdentifier(java.lang.String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
|
HsmConfiguration |
withHsmIpAddress(java.lang.String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the
HSM.
|
HsmConfiguration |
withHsmPartitionName(java.lang.String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters
will store their database encryption keys.
|
HsmConfiguration |
withTags(java.util.Collection<Tag> tags)
The list of tags for the HSM configuration.
|
HsmConfiguration |
withTags(Tag... tags)
The list of tags for the HSM configuration.
|
private java.lang.String hsmConfigurationIdentifier
The name of the Amazon Redshift HSM configuration.
private java.lang.String description
A text description of the HSM configuration.
private java.lang.String hsmIpAddress
The IP address that the Amazon Redshift cluster must use to access the HSM.
private java.lang.String hsmPartitionName
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
private SdkInternalList<Tag> tags
The list of tags for the HSM configuration.
public void setHsmConfigurationIdentifier(java.lang.String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public java.lang.String getHsmConfigurationIdentifier()
The name of the Amazon Redshift HSM configuration.
public HsmConfiguration withHsmConfigurationIdentifier(java.lang.String hsmConfigurationIdentifier)
The name of the Amazon Redshift HSM configuration.
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public void setDescription(java.lang.String description)
A text description of the HSM configuration.
description
- A text description of the HSM configuration.public java.lang.String getDescription()
A text description of the HSM configuration.
public HsmConfiguration withDescription(java.lang.String description)
A text description of the HSM configuration.
description
- A text description of the HSM configuration.public void setHsmIpAddress(java.lang.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 java.lang.String getHsmIpAddress()
The IP address that the Amazon Redshift cluster must use to access the HSM.
public HsmConfiguration withHsmIpAddress(java.lang.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(java.lang.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 java.lang.String getHsmPartitionName()
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
public HsmConfiguration withHsmPartitionName(java.lang.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 java.util.List<Tag> getTags()
The list of tags for the HSM configuration.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
The list of tags for the HSM configuration.
tags
- The list of tags for the HSM configuration.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public HsmConfiguration clone()
clone
in class java.lang.Object