@Generated(value="software.amazon.awssdk:codegen") public final class AvailableCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
The capacity information for instances that can be launched onto the Dedicated Host.
Modifier and Type | Class and Description |
---|---|
static interface |
AvailableCapacity.Builder |
Modifier and Type | Method and Description |
---|---|
List<InstanceCapacity> |
availableInstanceCapacity()
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity.
|
Integer |
availableVCpus()
The number of vCPUs available for launching instances onto the Dedicated Host.
|
static AvailableCapacity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailableInstanceCapacity()
Returns true if the AvailableInstanceCapacity property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AvailableCapacity.Builder> |
serializableBuilderClass() |
AvailableCapacity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasAvailableInstanceCapacity()
public List<InstanceCapacity> availableInstanceCapacity()
The number of instances that can be launched onto the Dedicated Host depending on the host's available capacity. For Dedicated Hosts that support multiple instance types, this parameter represents the number of instances for each instance size that is supported on the host.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAvailableInstanceCapacity()
to see if a value was sent in this field.
public Integer availableVCpus()
The number of vCPUs available for launching instances onto the Dedicated Host.
public AvailableCapacity.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AvailableCapacity.Builder,AvailableCapacity>
public static AvailableCapacity.Builder builder()
public static Class<? extends AvailableCapacity.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.