@Generated(value="software.amazon.awssdk:codegen") public final class InstanceCount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceCount.Builder,InstanceCount>
Describes a Reserved Instance listing state.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceCount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceCount.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of listed Reserved Instances in the state specified by the
state. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceCount.Builder> |
serializableBuilderClass() |
ListingState |
state()
The states of the listed Reserved Instances.
|
String |
stateAsString()
The states of the listed Reserved Instances.
|
InstanceCount.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer instanceCount()
The number of listed Reserved Instances in the state specified by the state.
state.public final ListingState state()
The states of the listed Reserved Instances.
If the service returns an enum value that is not available in the current SDK version, state will return
ListingState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ListingStatepublic final String stateAsString()
The states of the listed Reserved Instances.
If the service returns an enum value that is not available in the current SDK version, state will return
ListingState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ListingStatepublic InstanceCount.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceCount.Builder,InstanceCount>public static InstanceCount.Builder builder()
public static Class<? extends InstanceCount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.