@Generated(value="software.amazon.awssdk:codegen") public final class InstancesCount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstancesCount.Builder,InstancesCount>
Describes how many instances a stack has for each status.
Modifier and Type | Class and Description |
---|---|
static interface |
InstancesCount.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
assigning()
The number of instances in the Assigning state.
|
Integer |
booting()
The number of instances with
booting status. |
static InstancesCount.Builder |
builder() |
Integer |
connectionLost()
The number of instances with
connection_lost status. |
Integer |
deregistering()
The number of instances in the Deregistering state.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
online()
The number of instances with
online status. |
Integer |
pending()
The number of instances with
pending status. |
Integer |
rebooting()
The number of instances with
rebooting status. |
Integer |
registered()
The number of instances in the Registered state.
|
Integer |
registering()
The number of instances in the Registering state.
|
Integer |
requested()
The number of instances with
requested status. |
Integer |
runningSetup()
The number of instances with
running_setup status. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstancesCount.Builder> |
serializableBuilderClass() |
Integer |
setupFailed()
The number of instances with
setup_failed status. |
Integer |
shuttingDown()
The number of instances with
shutting_down status. |
Integer |
startFailed()
The number of instances with
start_failed status. |
Integer |
stopFailed()
The number of instances with
stop_failed status. |
Integer |
stopped()
The number of instances with
stopped status. |
Integer |
stopping()
The number of instances with
stopping status. |
Integer |
terminated()
The number of instances with
terminated status. |
Integer |
terminating()
The number of instances with
terminating status. |
InstancesCount.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Integer |
unassigning()
The number of instances in the Unassigning state.
|
copy
public final Integer assigning()
The number of instances in the Assigning state.
public final Integer booting()
The number of instances with booting
status.
booting
status.public final Integer connectionLost()
The number of instances with connection_lost
status.
connection_lost
status.public final Integer deregistering()
The number of instances in the Deregistering state.
public final Integer online()
The number of instances with online
status.
online
status.public final Integer pending()
The number of instances with pending
status.
pending
status.public final Integer rebooting()
The number of instances with rebooting
status.
rebooting
status.public final Integer registered()
The number of instances in the Registered state.
public final Integer registering()
The number of instances in the Registering state.
public final Integer requested()
The number of instances with requested
status.
requested
status.public final Integer runningSetup()
The number of instances with running_setup
status.
running_setup
status.public final Integer setupFailed()
The number of instances with setup_failed
status.
setup_failed
status.public final Integer shuttingDown()
The number of instances with shutting_down
status.
shutting_down
status.public final Integer startFailed()
The number of instances with start_failed
status.
start_failed
status.public final Integer stopFailed()
The number of instances with stop_failed
status.
stop_failed
status.public final Integer stopped()
The number of instances with stopped
status.
stopped
status.public final Integer stopping()
The number of instances with stopping
status.
stopping
status.public final Integer terminated()
The number of instances with terminated
status.
terminated
status.public final Integer terminating()
The number of instances with terminating
status.
terminating
status.public final Integer unassigning()
The number of instances in the Unassigning state.
public InstancesCount.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstancesCount.Builder,InstancesCount>
public static InstancesCount.Builder builder()
public static Class<? extends InstancesCount.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.