@Generated(value="software.amazon.awssdk:codegen") public final class InstanceCount extends Object implements 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 |
stateAsString()
The states of the listed Reserved Instances.
|
InstanceCount.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
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
stateAsString()
.
ListingState
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceCount.Builder,InstanceCount>
public static InstanceCount.Builder builder()
public static Class<? extends InstanceCount.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.