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; 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(Collection<Tag> tags)
The list of tags for the HSM configuration.
|
HsmConfiguration |
withTags(Tag... tags)
The list of tags for the HSM configuration.
|
public String getHsmConfigurationIdentifier()
public void setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public HsmConfiguration withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
Returns a reference to this object so that method calls can be chained together.
hsmConfigurationIdentifier
- The name of the Amazon Redshift HSM configuration.public String getDescription()
public void setDescription(String description)
description
- A text description of the HSM configuration.public HsmConfiguration withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A text description of the HSM configuration.public String getHsmIpAddress()
public void setHsmIpAddress(String hsmIpAddress)
hsmIpAddress
- The IP address that the Amazon Redshift cluster must use to access the
HSM.public HsmConfiguration withHsmIpAddress(String hsmIpAddress)
Returns a reference to this object so that method calls can be chained together.
hsmIpAddress
- The IP address that the Amazon Redshift cluster must use to access the
HSM.public String getHsmPartitionName()
public void setHsmPartitionName(String hsmPartitionName)
hsmPartitionName
- The name of the partition in the HSM where the Amazon Redshift
clusters will store their database encryption keys.public HsmConfiguration withHsmPartitionName(String hsmPartitionName)
Returns a reference to this object so that method calls can be chained together.
hsmPartitionName
- The name of the partition in the HSM where the Amazon Redshift
clusters will store their database encryption keys.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The list of tags for the HSM configuration.public HsmConfiguration withTags(Tag... tags)
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.
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the HSM configuration.public HsmConfiguration withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the HSM configuration.public String toString()
toString
in class Object
Object.toString()
public HsmConfiguration clone()
Copyright © 2015. All rights reserved.