Class InstancesCount
- All Implemented Interfaces:
Serializable
,Cloneable
Describes how many instances a stack has for each status.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of instances in the Assigning state.The number of instances withbooting
status.The number of instances withconnection_lost
status.The number of instances in the Deregistering state.The number of instances withonline
status.The number of instances withpending
status.The number of instances withrebooting
status.The number of instances in the Registered state.The number of instances in the Registering state.The number of instances withrequested
status.The number of instances withrunning_setup
status.The number of instances withsetup_failed
status.The number of instances withshutting_down
status.The number of instances withstart_failed
status.The number of instances withstopped
status.The number of instances withstopping
status.The number of instances withterminated
status.The number of instances withterminating
status.The number of instances in the Unassigning state.int
hashCode()
void
setAssigning
(Integer assigning) The number of instances in the Assigning state.void
setBooting
(Integer booting) The number of instances withbooting
status.void
setConnectionLost
(Integer connectionLost) The number of instances withconnection_lost
status.void
setDeregistering
(Integer deregistering) The number of instances in the Deregistering state.void
The number of instances withonline
status.void
setPending
(Integer pending) The number of instances withpending
status.void
setRebooting
(Integer rebooting) The number of instances withrebooting
status.void
setRegistered
(Integer registered) The number of instances in the Registered state.void
setRegistering
(Integer registering) The number of instances in the Registering state.void
setRequested
(Integer requested) The number of instances withrequested
status.void
setRunningSetup
(Integer runningSetup) The number of instances withrunning_setup
status.void
setSetupFailed
(Integer setupFailed) The number of instances withsetup_failed
status.void
setShuttingDown
(Integer shuttingDown) The number of instances withshutting_down
status.void
setStartFailed
(Integer startFailed) The number of instances withstart_failed
status.void
setStopped
(Integer stopped) The number of instances withstopped
status.void
setStopping
(Integer stopping) The number of instances withstopping
status.void
setTerminated
(Integer terminated) The number of instances withterminated
status.void
setTerminating
(Integer terminating) The number of instances withterminating
status.void
setUnassigning
(Integer unassigning) The number of instances in the Unassigning state.toString()
Returns a string representation of this object; useful for testing and debugging.withAssigning
(Integer assigning) The number of instances in the Assigning state.withBooting
(Integer booting) The number of instances withbooting
status.withConnectionLost
(Integer connectionLost) The number of instances withconnection_lost
status.withDeregistering
(Integer deregistering) The number of instances in the Deregistering state.withOnline
(Integer online) The number of instances withonline
status.withPending
(Integer pending) The number of instances withpending
status.withRebooting
(Integer rebooting) The number of instances withrebooting
status.withRegistered
(Integer registered) The number of instances in the Registered state.withRegistering
(Integer registering) The number of instances in the Registering state.withRequested
(Integer requested) The number of instances withrequested
status.withRunningSetup
(Integer runningSetup) The number of instances withrunning_setup
status.withSetupFailed
(Integer setupFailed) The number of instances withsetup_failed
status.withShuttingDown
(Integer shuttingDown) The number of instances withshutting_down
status.withStartFailed
(Integer startFailed) The number of instances withstart_failed
status.withStopped
(Integer stopped) The number of instances withstopped
status.withStopping
(Integer stopping) The number of instances withstopping
status.withTerminated
(Integer terminated) The number of instances withterminated
status.withTerminating
(Integer terminating) The number of instances withterminating
status.withUnassigning
(Integer unassigning) The number of instances in the Unassigning state.
-
Constructor Details
-
InstancesCount
public InstancesCount()
-
-
Method Details
-
setAssigning
The number of instances in the Assigning state.
- Parameters:
assigning
- The number of instances in the Assigning state.
-
getAssigning
The number of instances in the Assigning state.
- Returns:
- The number of instances in the Assigning state.
-
withAssigning
The number of instances in the Assigning state.
- Parameters:
assigning
- The number of instances in the Assigning state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBooting
The number of instances with
booting
status.- Parameters:
booting
- The number of instances withbooting
status.
-
getBooting
The number of instances with
booting
status.- Returns:
- The number of instances with
booting
status.
-
withBooting
The number of instances with
booting
status.- Parameters:
booting
- The number of instances withbooting
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionLost
The number of instances with
connection_lost
status.- Parameters:
connectionLost
- The number of instances withconnection_lost
status.
-
getConnectionLost
The number of instances with
connection_lost
status.- Returns:
- The number of instances with
connection_lost
status.
-
withConnectionLost
The number of instances with
connection_lost
status.- Parameters:
connectionLost
- The number of instances withconnection_lost
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeregistering
The number of instances in the Deregistering state.
- Parameters:
deregistering
- The number of instances in the Deregistering state.
-
getDeregistering
The number of instances in the Deregistering state.
- Returns:
- The number of instances in the Deregistering state.
-
withDeregistering
The number of instances in the Deregistering state.
- Parameters:
deregistering
- The number of instances in the Deregistering state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOnline
The number of instances with
online
status.- Parameters:
online
- The number of instances withonline
status.
-
getOnline
The number of instances with
online
status.- Returns:
- The number of instances with
online
status.
-
withOnline
The number of instances with
online
status.- Parameters:
online
- The number of instances withonline
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPending
The number of instances with
pending
status.- Parameters:
pending
- The number of instances withpending
status.
-
getPending
The number of instances with
pending
status.- Returns:
- The number of instances with
pending
status.
-
withPending
The number of instances with
pending
status.- Parameters:
pending
- The number of instances withpending
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRebooting
The number of instances with
rebooting
status.- Parameters:
rebooting
- The number of instances withrebooting
status.
-
getRebooting
The number of instances with
rebooting
status.- Returns:
- The number of instances with
rebooting
status.
-
withRebooting
The number of instances with
rebooting
status.- Parameters:
rebooting
- The number of instances withrebooting
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegistered
The number of instances in the Registered state.
- Parameters:
registered
- The number of instances in the Registered state.
-
getRegistered
The number of instances in the Registered state.
- Returns:
- The number of instances in the Registered state.
-
withRegistered
The number of instances in the Registered state.
- Parameters:
registered
- The number of instances in the Registered state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegistering
The number of instances in the Registering state.
- Parameters:
registering
- The number of instances in the Registering state.
-
getRegistering
The number of instances in the Registering state.
- Returns:
- The number of instances in the Registering state.
-
withRegistering
The number of instances in the Registering state.
- Parameters:
registering
- The number of instances in the Registering state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequested
The number of instances with
requested
status.- Parameters:
requested
- The number of instances withrequested
status.
-
getRequested
The number of instances with
requested
status.- Returns:
- The number of instances with
requested
status.
-
withRequested
The number of instances with
requested
status.- Parameters:
requested
- The number of instances withrequested
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunningSetup
The number of instances with
running_setup
status.- Parameters:
runningSetup
- The number of instances withrunning_setup
status.
-
getRunningSetup
The number of instances with
running_setup
status.- Returns:
- The number of instances with
running_setup
status.
-
withRunningSetup
The number of instances with
running_setup
status.- Parameters:
runningSetup
- The number of instances withrunning_setup
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSetupFailed
The number of instances with
setup_failed
status.- Parameters:
setupFailed
- The number of instances withsetup_failed
status.
-
getSetupFailed
The number of instances with
setup_failed
status.- Returns:
- The number of instances with
setup_failed
status.
-
withSetupFailed
The number of instances with
setup_failed
status.- Parameters:
setupFailed
- The number of instances withsetup_failed
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShuttingDown
The number of instances with
shutting_down
status.- Parameters:
shuttingDown
- The number of instances withshutting_down
status.
-
getShuttingDown
The number of instances with
shutting_down
status.- Returns:
- The number of instances with
shutting_down
status.
-
withShuttingDown
The number of instances with
shutting_down
status.- Parameters:
shuttingDown
- The number of instances withshutting_down
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartFailed
The number of instances with
start_failed
status.- Parameters:
startFailed
- The number of instances withstart_failed
status.
-
getStartFailed
The number of instances with
start_failed
status.- Returns:
- The number of instances with
start_failed
status.
-
withStartFailed
The number of instances with
start_failed
status.- Parameters:
startFailed
- The number of instances withstart_failed
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
The number of instances with
stopped
status.- Parameters:
stopped
- The number of instances withstopped
status.
-
getStopped
The number of instances with
stopped
status.- Returns:
- The number of instances with
stopped
status.
-
withStopped
The number of instances with
stopped
status.- Parameters:
stopped
- The number of instances withstopped
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopping
The number of instances with
stopping
status.- Parameters:
stopping
- The number of instances withstopping
status.
-
getStopping
The number of instances with
stopping
status.- Returns:
- The number of instances with
stopping
status.
-
withStopping
The number of instances with
stopping
status.- Parameters:
stopping
- The number of instances withstopping
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTerminated
The number of instances with
terminated
status.- Parameters:
terminated
- The number of instances withterminated
status.
-
getTerminated
The number of instances with
terminated
status.- Returns:
- The number of instances with
terminated
status.
-
withTerminated
The number of instances with
terminated
status.- Parameters:
terminated
- The number of instances withterminated
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTerminating
The number of instances with
terminating
status.- Parameters:
terminating
- The number of instances withterminating
status.
-
getTerminating
The number of instances with
terminating
status.- Returns:
- The number of instances with
terminating
status.
-
withTerminating
The number of instances with
terminating
status.- Parameters:
terminating
- The number of instances withterminating
status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUnassigning
The number of instances in the Unassigning state.
- Parameters:
unassigning
- The number of instances in the Unassigning state.
-
getUnassigning
The number of instances in the Unassigning state.
- Returns:
- The number of instances in the Unassigning state.
-
withUnassigning
The number of instances in the Unassigning state.
- Parameters:
unassigning
- The number of instances in the Unassigning state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-