Cloneable
, ReadLimitInfo
, ToCopyableBuilder<AllocateHostsRequest.Builder,AllocateHostsRequest>
@Generated("software.amazon.awssdk:codegen") public class AllocateHostsRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<AllocateHostsRequest.Builder,AllocateHostsRequest>
Contains the parameters for AllocateHosts.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AllocateHostsRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
autoPlacement() |
This is enabled by default.
|
String |
availabilityZone() |
The Availability Zone for the Dedicated Hosts.
|
static AllocateHostsRequest.Builder |
builder() |
|
String |
clientToken() |
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceType() |
Specify the instance type that you want your Dedicated Hosts to be configured for.
|
Integer |
quantity() |
The number of Dedicated Hosts you want to allocate to your account with these parameters.
|
static Class<? extends AllocateHostsRequest.Builder> |
serializableBuilderClass() |
|
AllocateHostsRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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
Default: Enabled
AutoPlacement
public String availabilityZone()
The Availability Zone for the Dedicated Hosts.
public 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.
public 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.
public Integer quantity()
The number of Dedicated Hosts you want to allocate to your account with these parameters.
public AllocateHostsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AllocateHostsRequest.Builder,AllocateHostsRequest>
public static AllocateHostsRequest.Builder builder()
public static Class<? extends AllocateHostsRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.