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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateHsmConfigurationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHsmConfigurationRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDescription()
A text description of the HSM configuration to be created.String
getHsmConfigurationIdentifier()
The identifier to be assigned to the new 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.String
getHsmPartitionPassword()
The password required to access the HSM partition.String
getHsmServerPublicCertificate()
The HSMs public certificate file.List<Tag>
getTags()
A list of tag instances.int
hashCode()
void
setDescription(String description)
A text description of the HSM configuration to be created.void
setHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The identifier to be assigned to the new 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
setHsmPartitionPassword(String hsmPartitionPassword)
The password required to access the HSM partition.void
setHsmServerPublicCertificate(String hsmServerPublicCertificate)
The HSMs public certificate file.void
setTags(Collection<Tag> tags)
A list of tag instances.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateHsmConfigurationRequest
withDescription(String description)
A text description of the HSM configuration to be created.CreateHsmConfigurationRequest
withHsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The identifier to be assigned to the new Amazon Redshift HSM configuration.CreateHsmConfigurationRequest
withHsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.CreateHsmConfigurationRequest
withHsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.CreateHsmConfigurationRequest
withHsmPartitionPassword(String hsmPartitionPassword)
The password required to access the HSM partition.CreateHsmConfigurationRequest
withHsmServerPublicCertificate(String hsmServerPublicCertificate)
The HSMs public certificate file.CreateHsmConfigurationRequest
withTags(Tag... tags)
A list of tag instances.CreateHsmConfigurationRequest
withTags(Collection<Tag> tags)
A list of tag instances.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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.
-
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)
orwithTags(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateHsmConfigurationRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-