public static interface AllocateHostsRequest.Builder extends Ec2Request.Builder, CopyableBuilder<AllocateHostsRequest.Builder,AllocateHostsRequest>
Modifier and Type | Method and Description |
---|---|
AllocateHostsRequest.Builder |
autoPlacement(AutoPlacement autoPlacement)
This is enabled by default.
|
AllocateHostsRequest.Builder |
autoPlacement(String autoPlacement)
This is enabled by default.
|
AllocateHostsRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the Dedicated Hosts.
|
AllocateHostsRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
AllocateHostsRequest.Builder |
instanceType(String instanceType)
Specify the instance type that you want your Dedicated Hosts to be configured for.
|
AllocateHostsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AllocateHostsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AllocateHostsRequest.Builder |
quantity(Integer quantity)
The number of Dedicated Hosts you want to allocate to your account with these parameters.
|
build
overrideConfiguration
copy
applyMutation, build
AllocateHostsRequest.Builder autoPlacement(String autoPlacement)
This is enabled by default. This property allows instances to be automatically placed onto available Dedicated Hosts, when you are launching instances without specifying a host ID.
Default: Enabled
autoPlacement
- This is enabled by default. This property allows instances to be automatically placed onto available
Dedicated Hosts, when you are launching instances without specifying a host ID.
Default: Enabled
AutoPlacement
,
AutoPlacement
AllocateHostsRequest.Builder autoPlacement(AutoPlacement autoPlacement)
This is enabled by default. This property allows instances to be automatically placed onto available Dedicated Hosts, when you are launching instances without specifying a host ID.
Default: Enabled
autoPlacement
- This is enabled by default. This property allows instances to be automatically placed onto available
Dedicated Hosts, when you are launching instances without specifying a host ID.
Default: Enabled
AutoPlacement
,
AutoPlacement
AllocateHostsRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone for the Dedicated Hosts.
availabilityZone
- The Availability Zone for the Dedicated Hosts.AllocateHostsRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more
information, see How to Ensure
Idempotency in the Amazon Elastic Compute Cloud User Guide.AllocateHostsRequest.Builder instanceType(String instanceType)
Specify the instance type that you want your Dedicated Hosts to be configured for. When you specify the instance type, that is the only instance type that you can launch onto that host.
instanceType
- Specify the instance type that you want your Dedicated Hosts to be configured for. When you specify
the instance type, that is the only instance type that you can launch onto that host.AllocateHostsRequest.Builder quantity(Integer quantity)
The number of Dedicated Hosts you want to allocate to your account with these parameters.
quantity
- The number of Dedicated Hosts you want to allocate to your account with these parameters.AllocateHostsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AllocateHostsRequest.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.