@Generated(value="software.amazon.awssdk:codegen") public final class InstanceCapacity extends Object implements SdkPojo, Serializable, 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceCapacity.Builder> |
serializableBuilderClass() |
InstanceCapacity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalCapacity()
The total number of instances that can be launched onto the Dedicated Host.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>public static InstanceCapacity.Builder builder()
public static Class<? extends InstanceCapacity.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.