public static interface CreateClusterRequest.Builder extends CloudHsmV2Request.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest.Builder |
backupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
|
default CreateClusterRequest.Builder |
backupRetentionPolicy(Consumer<BackupRetentionPolicy.Builder> backupRetentionPolicy)
A policy that defines how the service retains backups.
|
CreateClusterRequest.Builder |
hsmType(String hsmType)
The type of HSM to use in the cluster.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateClusterRequest.Builder |
sourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore.
|
CreateClusterRequest.Builder |
subnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster.
|
CreateClusterRequest.Builder |
subnetIds(String... subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster.
|
CreateClusterRequest.Builder |
tagList(Collection<Tag> tagList)
Tags to apply to the CloudHSM cluster during creation.
|
CreateClusterRequest.Builder |
tagList(Consumer<Tag.Builder>... tagList)
Tags to apply to the CloudHSM cluster during creation.
|
CreateClusterRequest.Builder |
tagList(Tag... tagList)
Tags to apply to the CloudHSM cluster during creation.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateClusterRequest.Builder backupRetentionPolicy(BackupRetentionPolicy backupRetentionPolicy)
A policy that defines how the service retains backups.
backupRetentionPolicy - A policy that defines how the service retains backups.default CreateClusterRequest.Builder backupRetentionPolicy(Consumer<BackupRetentionPolicy.Builder> backupRetentionPolicy)
A policy that defines how the service retains backups.
This is a convenience method that creates an instance of theBackupRetentionPolicy.Builder avoiding
the need to create one manually via BackupRetentionPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to backupRetentionPolicy(BackupRetentionPolicy).
backupRetentionPolicy - a consumer that will call methods on BackupRetentionPolicy.BuilderbackupRetentionPolicy(BackupRetentionPolicy)CreateClusterRequest.Builder hsmType(String hsmType)
The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.
hsmType - The type of HSM to use in the cluster. Currently the only allowed value is hsm1.medium.CreateClusterRequest.Builder sourceBackupId(String sourceBackupId)
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
sourceBackupId - The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a
backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.CreateClusterRequest.Builder subnetIds(Collection<String> subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
subnetIds - The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one
subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
CreateClusterRequest.Builder subnetIds(String... subnetIds)
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
subnetIds - The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one
subnet. If you specify multiple subnets, they must meet the following criteria:
All subnets must be in the same virtual private cloud (VPC).
You can specify only one subnet per Availability Zone.
CreateClusterRequest.Builder tagList(Collection<Tag> tagList)
Tags to apply to the CloudHSM cluster during creation.
tagList - Tags to apply to the CloudHSM cluster during creation.CreateClusterRequest.Builder tagList(Tag... tagList)
Tags to apply to the CloudHSM cluster during creation.
tagList - Tags to apply to the CloudHSM cluster during creation.CreateClusterRequest.Builder tagList(Consumer<Tag.Builder>... tagList)
Tags to apply to the CloudHSM cluster during creation.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tagList(List.
tagList - a consumer that will call methods on
Tag.Builder#tagList(java.util.Collection) CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.