Class InstancesCount
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.InstancesCount
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstancesCount.Builder,InstancesCount>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstancesCount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerassigning()The number of instances in the Assigning state.Integerbooting()The number of instances withbootingstatus.static InstancesCount.Builderbuilder()IntegerconnectionLost()The number of instances withconnection_loststatus.Integerderegistering()The number of instances in the Deregistering state.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integeronline()The number of instances withonlinestatus.Integerpending()The number of instances withpendingstatus.Integerrebooting()The number of instances withrebootingstatus.Integerregistered()The number of instances in the Registered state.Integerregistering()The number of instances in the Registering state.Integerrequested()The number of instances withrequestedstatus.IntegerrunningSetup()The number of instances withrunning_setupstatus.List<SdkField<?>>sdkFields()static Class<? extends InstancesCount.Builder>serializableBuilderClass()IntegersetupFailed()The number of instances withsetup_failedstatus.IntegershuttingDown()The number of instances withshutting_downstatus.IntegerstartFailed()The number of instances withstart_failedstatus.IntegerstopFailed()The number of instances withstop_failedstatus.Integerstopped()The number of instances withstoppedstatus.Integerstopping()The number of instances withstoppingstatus.Integerterminated()The number of instances withterminatedstatus.Integerterminating()The number of instances withterminatingstatus.InstancesCount.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerunassigning()The number of instances in the Unassigning state.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
assigning
public final Integer assigning()
The number of instances in the Assigning state.
- Returns:
- The number of instances in the Assigning state.
-
booting
public final Integer booting()
The number of instances with
bootingstatus.- Returns:
- The number of instances with
bootingstatus.
-
connectionLost
public final Integer connectionLost()
The number of instances with
connection_loststatus.- Returns:
- The number of instances with
connection_loststatus.
-
deregistering
public final Integer deregistering()
The number of instances in the Deregistering state.
- Returns:
- The number of instances in the Deregistering state.
-
online
public final Integer online()
The number of instances with
onlinestatus.- Returns:
- The number of instances with
onlinestatus.
-
pending
public final Integer pending()
The number of instances with
pendingstatus.- Returns:
- The number of instances with
pendingstatus.
-
rebooting
public final Integer rebooting()
The number of instances with
rebootingstatus.- Returns:
- The number of instances with
rebootingstatus.
-
registered
public final Integer registered()
The number of instances in the Registered state.
- Returns:
- The number of instances in the Registered state.
-
registering
public final Integer registering()
The number of instances in the Registering state.
- Returns:
- The number of instances in the Registering state.
-
requested
public final Integer requested()
The number of instances with
requestedstatus.- Returns:
- The number of instances with
requestedstatus.
-
runningSetup
public final Integer runningSetup()
The number of instances with
running_setupstatus.- Returns:
- The number of instances with
running_setupstatus.
-
setupFailed
public final Integer setupFailed()
The number of instances with
setup_failedstatus.- Returns:
- The number of instances with
setup_failedstatus.
-
shuttingDown
public final Integer shuttingDown()
The number of instances with
shutting_downstatus.- Returns:
- The number of instances with
shutting_downstatus.
-
startFailed
public final Integer startFailed()
The number of instances with
start_failedstatus.- Returns:
- The number of instances with
start_failedstatus.
-
stopFailed
public final Integer stopFailed()
The number of instances with
stop_failedstatus.- Returns:
- The number of instances with
stop_failedstatus.
-
stopped
public final Integer stopped()
The number of instances with
stoppedstatus.- Returns:
- The number of instances with
stoppedstatus.
-
stopping
public final Integer stopping()
The number of instances with
stoppingstatus.- Returns:
- The number of instances with
stoppingstatus.
-
terminated
public final Integer terminated()
The number of instances with
terminatedstatus.- Returns:
- The number of instances with
terminatedstatus.
-
terminating
public final Integer terminating()
The number of instances with
terminatingstatus.- Returns:
- The number of instances with
terminatingstatus.
-
unassigning
public final Integer unassigning()
The number of instances in the Unassigning state.
- Returns:
- The number of instances in the Unassigning state.
-
toBuilder
public InstancesCount.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstancesCount.Builder,InstancesCount>
-
builder
public static InstancesCount.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstancesCount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-