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 |
quantity(Integer quantity)
The number of Dedicated Hosts you want to allocate to your account with these parameters.
|
AllocateHostsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AllocateHostsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AllocateHostsRequest.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.