public static interface CreateClusterRequest.Builder extends CloudHSMV2Request.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateClusterRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateClusterRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.