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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateHsmConfigurationRequest.Builder
description(String description)
A text description of the HSM configuration to be created.CreateHsmConfigurationRequest.Builder
hsmConfigurationIdentifier(String hsmConfigurationIdentifier)
The identifier to be assigned to the new Amazon Redshift HSM configuration.CreateHsmConfigurationRequest.Builder
hsmIpAddress(String hsmIpAddress)
The IP address that the Amazon Redshift cluster must use to access the HSM.CreateHsmConfigurationRequest.Builder
hsmPartitionName(String hsmPartitionName)
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.CreateHsmConfigurationRequest.Builder
hsmPartitionPassword(String hsmPartitionPassword)
The password required to access the HSM partition.CreateHsmConfigurationRequest.Builder
hsmServerPublicCertificate(String hsmServerPublicCertificate)
The HSMs public certificate file.CreateHsmConfigurationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateHsmConfigurationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateHsmConfigurationRequest.Builder
tags(Collection<Tag> tags)
A list of tag instances.CreateHsmConfigurationRequest.Builder
tags(Consumer<Tag.Builder>... tags)
A list of tag instances.CreateHsmConfigurationRequest.Builder
tags(Tag... tags)
A list of tag instances.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
hsmConfigurationIdentifier
CreateHsmConfigurationRequest.Builder hsmConfigurationIdentifier(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.
-
description
CreateHsmConfigurationRequest.Builder description(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.
-
hsmIpAddress
CreateHsmConfigurationRequest.Builder hsmIpAddress(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.
-
hsmPartitionName
CreateHsmConfigurationRequest.Builder hsmPartitionName(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.
-
hsmPartitionPassword
CreateHsmConfigurationRequest.Builder hsmPartitionPassword(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.
-
hsmServerPublicCertificate
CreateHsmConfigurationRequest.Builder hsmServerPublicCertificate(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.
-
tags
CreateHsmConfigurationRequest.Builder tags(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.
-
tags
CreateHsmConfigurationRequest.Builder tags(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.
-
tags
CreateHsmConfigurationRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateHsmConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHsmConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-