public static interface CreateClusterRequest.Builder extends CloudHsmV2Request.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
Modifier and Type | Method and Description |
---|---|
CreateClusterRequest.Builder |
hsmType(String hsmType)
The type of HSM to use in the cluster.
|
CreateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
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 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.