@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, wait
copy
public 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()
.
ListingState
public 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()
.
ListingState
public 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 SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.