ToCopyableBuilder<Host.Builder,Host>
@Generated("software.amazon.awssdk:codegen") public class Host extends Object implements ToCopyableBuilder<Host.Builder,Host>
Describes the properties of the Dedicated Host.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Host.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
autoPlacement() |
Whether auto-placement is on or off.
|
String |
availabilityZone() |
The Availability Zone of the Dedicated Host.
|
AvailableCapacity |
availableCapacity() |
The number of new instances that can be launched onto the Dedicated Host.
|
static Host.Builder |
builder() |
|
String |
clientToken() |
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
hostId() |
The ID of the Dedicated Host.
|
HostProperties |
hostProperties() |
The hardware specifications of the Dedicated Host.
|
String |
hostReservationId() |
The reservation ID of the Dedicated Host.
|
List<HostInstance> |
instances() |
The IDs and instance type that are currently running on the Dedicated Host.
|
static Class<? extends Host.Builder> |
serializableBuilderClass() |
|
String |
state() |
The Dedicated Host's state.
|
Host.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String autoPlacement()
Whether auto-placement is on or off.
AutoPlacement
public String availabilityZone()
The Availability Zone of the Dedicated Host.
public AvailableCapacity availableCapacity()
The number of new instances that can be launched onto the Dedicated Host.
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 hostId()
The ID of the Dedicated Host.
public HostProperties hostProperties()
The hardware specifications of the Dedicated Host.
public String hostReservationId()
The reservation ID of the Dedicated Host. This returns a null
response if the Dedicated Host doesn't
have an associated reservation.
null
response if the Dedicated Host
doesn't have an associated reservation.public List<HostInstance> instances()
The IDs and instance type that are currently running on the Dedicated Host.
public String state()
The Dedicated Host's state.
AllocationState
public Host.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Host.Builder,Host>
public static Host.Builder builder()
public static Class<? extends Host.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.