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 CreateHsmConfigurationRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDescription()A text description of the HSM configuration to be created.StringgetHsmConfigurationIdentifier()The identifier to be assigned to the new Amazon Redshift HSM configuration.StringgetHsmIpAddress()The IP address that the Amazon Redshift cluster must use to access the HSM.StringgetHsmPartitionName()The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.StringgetHsmPartitionPassword()The password required to access the HSM partition.StringgetHsmServerPublicCertificate()The HSMs public certificate file.List<Tag>getTags()A list of tag instances.inthashCode()voidsetDescription(String description)A text description of the HSM configuration to be created.voidsetHsmConfigurationIdentifier(String hsmConfigurationIdentifier)The identifier to be assigned to the new Amazon Redshift HSM configuration.voidsetHsmIpAddress(String hsmIpAddress)The IP address that the Amazon Redshift cluster must use to access the HSM.voidsetHsmPartitionName(String hsmPartitionName)The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.voidsetHsmPartitionPassword(String hsmPartitionPassword)The password required to access the HSM partition.voidsetHsmServerPublicCertificate(String hsmServerPublicCertificate)The HSMs public certificate file.voidsetTags(Collection<Tag> tags)A list of tag instances.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateHsmConfigurationRequestwithDescription(String description)A text description of the HSM configuration to be created.CreateHsmConfigurationRequestwithHsmConfigurationIdentifier(String hsmConfigurationIdentifier)The identifier to be assigned to the new Amazon Redshift HSM configuration.CreateHsmConfigurationRequestwithHsmIpAddress(String hsmIpAddress)The IP address that the Amazon Redshift cluster must use to access the HSM.CreateHsmConfigurationRequestwithHsmPartitionName(String hsmPartitionName)The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.CreateHsmConfigurationRequestwithHsmPartitionPassword(String hsmPartitionPassword)The password required to access the HSM partition.CreateHsmConfigurationRequestwithHsmServerPublicCertificate(String hsmServerPublicCertificate)The HSMs public certificate file.CreateHsmConfigurationRequestwithTags(Tag... tags)A list of tag instances.CreateHsmConfigurationRequestwithTags(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateHsmConfigurationRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-