Class HsmConfiguration
- java.lang.Object
-
- com.amazonaws.services.redshift.model.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 Summary
Constructors Constructor Description HsmConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.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(Tag... tags)
The list of tags for the HSM configuration.HsmConfiguration
withTags(Collection<Tag> tags)
The list of tags for the HSM configuration.
-
-
-
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)
orwithTags(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HsmConfiguration clone()
-
-