@Generated(value="software.amazon.awssdk:codegen") public class InstanceCount extends Object implements software.amazon.awssdk.utils.builder.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) |
<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. |
static Class<? extends InstanceCount.Builder> |
serializableBuilderClass() |
ListingState |
state()
The states of the listed Reserved Instances.
|
String |
stateString()
The states of the listed Reserved Instances.
|
InstanceCount.Builder |
toBuilder() |
String |
toString() |
public Integer instanceCount()
The number of listed Reserved Instances in the state specified by the state.
state.public 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
stateString().
ListingStatepublic String stateString()
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
stateString().
ListingStatepublic InstanceCount.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceCount.Builder,InstanceCount>public static InstanceCount.Builder builder()
public static Class<? extends InstanceCount.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.