Class InstancesCount
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InstancesCount.Builder,
InstancesCount>
Describes how many instances a stack has for each status.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
The number of instances in the Assigning state.final Integer
booting()
The number of instances withbooting
status.static InstancesCount.Builder
builder()
final Integer
The number of instances withconnection_lost
status.final Integer
The number of instances in the Deregistering state.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Integer
online()
The number of instances withonline
status.final Integer
pending()
The number of instances withpending
status.final Integer
The number of instances withrebooting
status.final Integer
The number of instances in the Registered state.final Integer
The number of instances in the Registering state.final Integer
The number of instances withrequested
status.final Integer
The number of instances withrunning_setup
status.static Class
<? extends InstancesCount.Builder> final Integer
The number of instances withsetup_failed
status.final Integer
The number of instances withshutting_down
status.final Integer
The number of instances withstart_failed
status.final Integer
The number of instances withstop_failed
status.final Integer
stopped()
The number of instances withstopped
status.final Integer
stopping()
The number of instances withstopping
status.final Integer
The number of instances withterminated
status.final Integer
The number of instances withterminating
status.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
The number of instances in the Unassigning state.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
assigning
The number of instances in the Assigning state.
- Returns:
- The number of instances in the Assigning state.
-
booting
The number of instances with
booting
status.- Returns:
- The number of instances with
booting
status.
-
connectionLost
The number of instances with
connection_lost
status.- Returns:
- The number of instances with
connection_lost
status.
-
deregistering
The number of instances in the Deregistering state.
- Returns:
- The number of instances in the Deregistering state.
-
online
The number of instances with
online
status.- Returns:
- The number of instances with
online
status.
-
pending
The number of instances with
pending
status.- Returns:
- The number of instances with
pending
status.
-
rebooting
The number of instances with
rebooting
status.- Returns:
- The number of instances with
rebooting
status.
-
registered
The number of instances in the Registered state.
- Returns:
- The number of instances in the Registered state.
-
registering
The number of instances in the Registering state.
- Returns:
- The number of instances in the Registering state.
-
requested
The number of instances with
requested
status.- Returns:
- The number of instances with
requested
status.
-
runningSetup
The number of instances with
running_setup
status.- Returns:
- The number of instances with
running_setup
status.
-
setupFailed
The number of instances with
setup_failed
status.- Returns:
- The number of instances with
setup_failed
status.
-
shuttingDown
The number of instances with
shutting_down
status.- Returns:
- The number of instances with
shutting_down
status.
-
startFailed
The number of instances with
start_failed
status.- Returns:
- The number of instances with
start_failed
status.
-
stopFailed
The number of instances with
stop_failed
status.- Returns:
- The number of instances with
stop_failed
status.
-
stopped
The number of instances with
stopped
status.- Returns:
- The number of instances with
stopped
status.
-
stopping
The number of instances with
stopping
status.- Returns:
- The number of instances with
stopping
status.
-
terminated
The number of instances with
terminated
status.- Returns:
- The number of instances with
terminated
status.
-
terminating
The number of instances with
terminating
status.- Returns:
- The number of instances with
terminating
status.
-
unassigning
The number of instances in the Unassigning state.
- Returns:
- The number of instances in the Unassigning state.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<InstancesCount.Builder,
InstancesCount> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-