public class InstancesCount
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes how many instances a stack has for each status.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
assigning
The number of instances in the Assigning state.
|
private java.lang.Integer |
booting
The number of instances with
booting status. |
private java.lang.Integer |
connectionLost
The number of instances with
connection_lost status. |
private java.lang.Integer |
deregistering
The number of instances in the Deregistering state.
|
private java.lang.Integer |
online
The number of instances with
online status. |
private java.lang.Integer |
pending
The number of instances with
pending status. |
private java.lang.Integer |
rebooting
The number of instances with
rebooting status. |
private java.lang.Integer |
registered
The number of instances in the Registered state.
|
private java.lang.Integer |
registering
The number of instances in the Registering state.
|
private java.lang.Integer |
requested
The number of instances with
requested status. |
private java.lang.Integer |
runningSetup
The number of instances with
running_setup status. |
private java.lang.Integer |
setupFailed
The number of instances with
setup_failed status. |
private java.lang.Integer |
shuttingDown
The number of instances with
shutting_down status. |
private java.lang.Integer |
startFailed
The number of instances with
start_failed status. |
private java.lang.Integer |
stopped
The number of instances with
stopped status. |
private java.lang.Integer |
stopping
The number of instances with
stopping status. |
private java.lang.Integer |
terminated
The number of instances with
terminated status. |
private java.lang.Integer |
terminating
The number of instances with
terminating status. |
private java.lang.Integer |
unassigning
The number of instances in the Unassigning state.
|
Constructor and Description |
---|
InstancesCount() |
Modifier and Type | Method and Description |
---|---|
InstancesCount |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAssigning()
The number of instances in the Assigning state.
|
java.lang.Integer |
getBooting()
The number of instances with
booting status. |
java.lang.Integer |
getConnectionLost()
The number of instances with
connection_lost status. |
java.lang.Integer |
getDeregistering()
The number of instances in the Deregistering state.
|
java.lang.Integer |
getOnline()
The number of instances with
online status. |
java.lang.Integer |
getPending()
The number of instances with
pending status. |
java.lang.Integer |
getRebooting()
The number of instances with
rebooting status. |
java.lang.Integer |
getRegistered()
The number of instances in the Registered state.
|
java.lang.Integer |
getRegistering()
The number of instances in the Registering state.
|
java.lang.Integer |
getRequested()
The number of instances with
requested status. |
java.lang.Integer |
getRunningSetup()
The number of instances with
running_setup status. |
java.lang.Integer |
getSetupFailed()
The number of instances with
setup_failed status. |
java.lang.Integer |
getShuttingDown()
The number of instances with
shutting_down status. |
java.lang.Integer |
getStartFailed()
The number of instances with
start_failed status. |
java.lang.Integer |
getStopped()
The number of instances with
stopped status. |
java.lang.Integer |
getStopping()
The number of instances with
stopping status. |
java.lang.Integer |
getTerminated()
The number of instances with
terminated status. |
java.lang.Integer |
getTerminating()
The number of instances with
terminating status. |
java.lang.Integer |
getUnassigning()
The number of instances in the Unassigning state.
|
int |
hashCode() |
void |
setAssigning(java.lang.Integer assigning)
The number of instances in the Assigning state.
|
void |
setBooting(java.lang.Integer booting)
The number of instances with
booting status. |
void |
setConnectionLost(java.lang.Integer connectionLost)
The number of instances with
connection_lost status. |
void |
setDeregistering(java.lang.Integer deregistering)
The number of instances in the Deregistering state.
|
void |
setOnline(java.lang.Integer online)
The number of instances with
online status. |
void |
setPending(java.lang.Integer pending)
The number of instances with
pending status. |
void |
setRebooting(java.lang.Integer rebooting)
The number of instances with
rebooting status. |
void |
setRegistered(java.lang.Integer registered)
The number of instances in the Registered state.
|
void |
setRegistering(java.lang.Integer registering)
The number of instances in the Registering state.
|
void |
setRequested(java.lang.Integer requested)
The number of instances with
requested status. |
void |
setRunningSetup(java.lang.Integer runningSetup)
The number of instances with
running_setup status. |
void |
setSetupFailed(java.lang.Integer setupFailed)
The number of instances with
setup_failed status. |
void |
setShuttingDown(java.lang.Integer shuttingDown)
The number of instances with
shutting_down status. |
void |
setStartFailed(java.lang.Integer startFailed)
The number of instances with
start_failed status. |
void |
setStopped(java.lang.Integer stopped)
The number of instances with
stopped status. |
void |
setStopping(java.lang.Integer stopping)
The number of instances with
stopping status. |
void |
setTerminated(java.lang.Integer terminated)
The number of instances with
terminated status. |
void |
setTerminating(java.lang.Integer terminating)
The number of instances with
terminating status. |
void |
setUnassigning(java.lang.Integer unassigning)
The number of instances in the Unassigning state.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstancesCount |
withAssigning(java.lang.Integer assigning)
The number of instances in the Assigning state.
|
InstancesCount |
withBooting(java.lang.Integer booting)
The number of instances with
booting status. |
InstancesCount |
withConnectionLost(java.lang.Integer connectionLost)
The number of instances with
connection_lost status. |
InstancesCount |
withDeregistering(java.lang.Integer deregistering)
The number of instances in the Deregistering state.
|
InstancesCount |
withOnline(java.lang.Integer online)
The number of instances with
online status. |
InstancesCount |
withPending(java.lang.Integer pending)
The number of instances with
pending status. |
InstancesCount |
withRebooting(java.lang.Integer rebooting)
The number of instances with
rebooting status. |
InstancesCount |
withRegistered(java.lang.Integer registered)
The number of instances in the Registered state.
|
InstancesCount |
withRegistering(java.lang.Integer registering)
The number of instances in the Registering state.
|
InstancesCount |
withRequested(java.lang.Integer requested)
The number of instances with
requested status. |
InstancesCount |
withRunningSetup(java.lang.Integer runningSetup)
The number of instances with
running_setup status. |
InstancesCount |
withSetupFailed(java.lang.Integer setupFailed)
The number of instances with
setup_failed status. |
InstancesCount |
withShuttingDown(java.lang.Integer shuttingDown)
The number of instances with
shutting_down status. |
InstancesCount |
withStartFailed(java.lang.Integer startFailed)
The number of instances with
start_failed status. |
InstancesCount |
withStopped(java.lang.Integer stopped)
The number of instances with
stopped status. |
InstancesCount |
withStopping(java.lang.Integer stopping)
The number of instances with
stopping status. |
InstancesCount |
withTerminated(java.lang.Integer terminated)
The number of instances with
terminated status. |
InstancesCount |
withTerminating(java.lang.Integer terminating)
The number of instances with
terminating status. |
InstancesCount |
withUnassigning(java.lang.Integer unassigning)
The number of instances in the Unassigning state.
|
private java.lang.Integer assigning
The number of instances in the Assigning state.
private java.lang.Integer booting
The number of instances with booting
status.
private java.lang.Integer connectionLost
The number of instances with connection_lost
status.
private java.lang.Integer deregistering
The number of instances in the Deregistering state.
private java.lang.Integer online
The number of instances with online
status.
private java.lang.Integer pending
The number of instances with pending
status.
private java.lang.Integer rebooting
The number of instances with rebooting
status.
private java.lang.Integer registered
The number of instances in the Registered state.
private java.lang.Integer registering
The number of instances in the Registering state.
private java.lang.Integer requested
The number of instances with requested
status.
private java.lang.Integer runningSetup
The number of instances with running_setup
status.
private java.lang.Integer setupFailed
The number of instances with setup_failed
status.
private java.lang.Integer shuttingDown
The number of instances with shutting_down
status.
private java.lang.Integer startFailed
The number of instances with start_failed
status.
private java.lang.Integer stopped
The number of instances with stopped
status.
private java.lang.Integer stopping
The number of instances with stopping
status.
private java.lang.Integer terminated
The number of instances with terminated
status.
private java.lang.Integer terminating
The number of instances with terminating
status.
private java.lang.Integer unassigning
The number of instances in the Unassigning state.
public void setAssigning(java.lang.Integer assigning)
The number of instances in the Assigning state.
assigning
- The number of instances in the Assigning state.public java.lang.Integer getAssigning()
The number of instances in the Assigning state.
public InstancesCount withAssigning(java.lang.Integer assigning)
The number of instances in the Assigning state.
assigning
- The number of instances in the Assigning state.public void setBooting(java.lang.Integer booting)
The number of instances with booting
status.
booting
- The number of instances with booting
status.public java.lang.Integer getBooting()
The number of instances with booting
status.
booting
status.public InstancesCount withBooting(java.lang.Integer booting)
The number of instances with booting
status.
booting
- The number of instances with booting
status.public void setConnectionLost(java.lang.Integer connectionLost)
The number of instances with connection_lost
status.
connectionLost
- The number of instances with connection_lost
status.public java.lang.Integer getConnectionLost()
The number of instances with connection_lost
status.
connection_lost
status.public InstancesCount withConnectionLost(java.lang.Integer connectionLost)
The number of instances with connection_lost
status.
connectionLost
- The number of instances with connection_lost
status.public void setDeregistering(java.lang.Integer deregistering)
The number of instances in the Deregistering state.
deregistering
- The number of instances in the Deregistering state.public java.lang.Integer getDeregistering()
The number of instances in the Deregistering state.
public InstancesCount withDeregistering(java.lang.Integer deregistering)
The number of instances in the Deregistering state.
deregistering
- The number of instances in the Deregistering state.public void setOnline(java.lang.Integer online)
The number of instances with online
status.
online
- The number of instances with online
status.public java.lang.Integer getOnline()
The number of instances with online
status.
online
status.public InstancesCount withOnline(java.lang.Integer online)
The number of instances with online
status.
online
- The number of instances with online
status.public void setPending(java.lang.Integer pending)
The number of instances with pending
status.
pending
- The number of instances with pending
status.public java.lang.Integer getPending()
The number of instances with pending
status.
pending
status.public InstancesCount withPending(java.lang.Integer pending)
The number of instances with pending
status.
pending
- The number of instances with pending
status.public void setRebooting(java.lang.Integer rebooting)
The number of instances with rebooting
status.
rebooting
- The number of instances with rebooting
status.public java.lang.Integer getRebooting()
The number of instances with rebooting
status.
rebooting
status.public InstancesCount withRebooting(java.lang.Integer rebooting)
The number of instances with rebooting
status.
rebooting
- The number of instances with rebooting
status.public void setRegistered(java.lang.Integer registered)
The number of instances in the Registered state.
registered
- The number of instances in the Registered state.public java.lang.Integer getRegistered()
The number of instances in the Registered state.
public InstancesCount withRegistered(java.lang.Integer registered)
The number of instances in the Registered state.
registered
- The number of instances in the Registered state.public void setRegistering(java.lang.Integer registering)
The number of instances in the Registering state.
registering
- The number of instances in the Registering state.public java.lang.Integer getRegistering()
The number of instances in the Registering state.
public InstancesCount withRegistering(java.lang.Integer registering)
The number of instances in the Registering state.
registering
- The number of instances in the Registering state.public void setRequested(java.lang.Integer requested)
The number of instances with requested
status.
requested
- The number of instances with requested
status.public java.lang.Integer getRequested()
The number of instances with requested
status.
requested
status.public InstancesCount withRequested(java.lang.Integer requested)
The number of instances with requested
status.
requested
- The number of instances with requested
status.public void setRunningSetup(java.lang.Integer runningSetup)
The number of instances with running_setup
status.
runningSetup
- The number of instances with running_setup
status.public java.lang.Integer getRunningSetup()
The number of instances with running_setup
status.
running_setup
status.public InstancesCount withRunningSetup(java.lang.Integer runningSetup)
The number of instances with running_setup
status.
runningSetup
- The number of instances with running_setup
status.public void setSetupFailed(java.lang.Integer setupFailed)
The number of instances with setup_failed
status.
setupFailed
- The number of instances with setup_failed
status.public java.lang.Integer getSetupFailed()
The number of instances with setup_failed
status.
setup_failed
status.public InstancesCount withSetupFailed(java.lang.Integer setupFailed)
The number of instances with setup_failed
status.
setupFailed
- The number of instances with setup_failed
status.public void setShuttingDown(java.lang.Integer shuttingDown)
The number of instances with shutting_down
status.
shuttingDown
- The number of instances with shutting_down
status.public java.lang.Integer getShuttingDown()
The number of instances with shutting_down
status.
shutting_down
status.public InstancesCount withShuttingDown(java.lang.Integer shuttingDown)
The number of instances with shutting_down
status.
shuttingDown
- The number of instances with shutting_down
status.public void setStartFailed(java.lang.Integer startFailed)
The number of instances with start_failed
status.
startFailed
- The number of instances with start_failed
status.public java.lang.Integer getStartFailed()
The number of instances with start_failed
status.
start_failed
status.public InstancesCount withStartFailed(java.lang.Integer startFailed)
The number of instances with start_failed
status.
startFailed
- The number of instances with start_failed
status.public void setStopped(java.lang.Integer stopped)
The number of instances with stopped
status.
stopped
- The number of instances with stopped
status.public java.lang.Integer getStopped()
The number of instances with stopped
status.
stopped
status.public InstancesCount withStopped(java.lang.Integer stopped)
The number of instances with stopped
status.
stopped
- The number of instances with stopped
status.public void setStopping(java.lang.Integer stopping)
The number of instances with stopping
status.
stopping
- The number of instances with stopping
status.public java.lang.Integer getStopping()
The number of instances with stopping
status.
stopping
status.public InstancesCount withStopping(java.lang.Integer stopping)
The number of instances with stopping
status.
stopping
- The number of instances with stopping
status.public void setTerminated(java.lang.Integer terminated)
The number of instances with terminated
status.
terminated
- The number of instances with terminated
status.public java.lang.Integer getTerminated()
The number of instances with terminated
status.
terminated
status.public InstancesCount withTerminated(java.lang.Integer terminated)
The number of instances with terminated
status.
terminated
- The number of instances with terminated
status.public void setTerminating(java.lang.Integer terminating)
The number of instances with terminating
status.
terminating
- The number of instances with terminating
status.public java.lang.Integer getTerminating()
The number of instances with terminating
status.
terminating
status.public InstancesCount withTerminating(java.lang.Integer terminating)
The number of instances with terminating
status.
terminating
- The number of instances with terminating
status.public void setUnassigning(java.lang.Integer unassigning)
The number of instances in the Unassigning state.
unassigning
- The number of instances in the Unassigning state.public java.lang.Integer getUnassigning()
The number of instances in the Unassigning state.
public InstancesCount withUnassigning(java.lang.Integer unassigning)
The number of instances in the Unassigning state.
unassigning
- The number of instances in the Unassigning state.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InstancesCount clone()
clone
in class java.lang.Object