@Generated(value="software.amazon.awssdk:codegen") public final class InstanceCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
Information about the number of instances that can be launched onto the Dedicated Host.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceCapacity.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
availableCapacity()
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
|
static InstanceCapacity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceType()
The instance type 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 if there are no instances running on
it.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer availableCapacity()
The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
public final String instanceType()
The instance type supported by the Dedicated Host.
public final Integer totalCapacity()
The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.
public InstanceCapacity.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<InstanceCapacity.Builder,InstanceCapacity>
public static InstanceCapacity.Builder builder()
public static Class<? extends InstanceCapacity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.