Interface CreateHsmConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHsmConfigurationRequest.Builder,,CreateHsmConfigurationRequest> RedshiftRequest.Builder,SdkBuilder<CreateHsmConfigurationRequest.Builder,,CreateHsmConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHsmConfigurationRequest
public static interface CreateHsmConfigurationRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateHsmConfigurationRequest.Builder,CreateHsmConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A text description of the HSM configuration to be created.hsmConfigurationIdentifier(String hsmConfigurationIdentifier) The identifier to be assigned to the new Amazon Redshift HSM configuration.hsmIpAddress(String hsmIpAddress) The IP address that the Amazon Redshift cluster must use to access the HSM.hsmPartitionName(String hsmPartitionName) The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.hsmPartitionPassword(String hsmPartitionPassword) The password required to access the HSM partition.hsmServerPublicCertificate(String hsmServerPublicCertificate) The HSMs public certificate file.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A list of tag instances.tags(Consumer<Tag.Builder>... tags) A list of tag instances.A list of tag instances.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
tags
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateHsmConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHsmConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-