@Generated(value="software.amazon.awssdk:codegen") public final class InstanceCapacity extends Object implements ToCopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
Information about the instance type that the Dedicated Host supports.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceCapacity.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
availableCapacity()
The number of instances that can still be launched onto the Dedicated Host.
|
static InstanceCapacity.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceType()
The instance type size supported by the Dedicated Host.
|
static Class<? extends InstanceCapacity.Builder> |
serializableBuilderClass() |
InstanceCapacity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
totalCapacity()
The total number of instances that can be launched onto the Dedicated Host.
|
copy
public Integer availableCapacity()
The number of instances that can still be launched onto the Dedicated Host.
public String instanceType()
The instance type size supported by the Dedicated Host.
public Integer totalCapacity()
The total number of instances that can be launched onto the Dedicated Host.
public InstanceCapacity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
public static InstanceCapacity.Builder builder()
public static Class<? extends InstanceCapacity.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.