public class InstancesCount extends Object implements Serializable
Describes how many instances a stack has for each status.
Constructor and Description |
---|
InstancesCount() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getBooting()
The number of instances with
booting status. |
Integer |
getConnectionLost()
The number of instances with
connection_lost status. |
Integer |
getOnline()
The number of instances with
online status. |
Integer |
getPending()
The number of instances with
pending status. |
Integer |
getRebooting()
The number of instances with
rebooting status. |
Integer |
getRequested()
The number of instances with
requested status. |
Integer |
getRunningSetup()
The number of instances with
running_setup status. |
Integer |
getSetupFailed()
The number of instances with
setup_failed status. |
Integer |
getShuttingDown()
The number of instances with
shutting_down status. |
Integer |
getStartFailed()
The number of instances with
start_failed status. |
Integer |
getStopped()
The number of instances with
stopped status. |
Integer |
getStopping()
The number of instances with
stopping status. |
Integer |
getTerminated()
The number of instances with
terminated status. |
Integer |
getTerminating()
The number of instances with
terminating status. |
int |
hashCode() |
void |
setBooting(Integer booting)
The number of instances with
booting status. |
void |
setConnectionLost(Integer connectionLost)
The number of instances with
connection_lost status. |
void |
setOnline(Integer online)
The number of instances with
online status. |
void |
setPending(Integer pending)
The number of instances with
pending status. |
void |
setRebooting(Integer rebooting)
The number of instances with
rebooting status. |
void |
setRequested(Integer requested)
The number of instances with
requested status. |
void |
setRunningSetup(Integer runningSetup)
The number of instances with
running_setup status. |
void |
setSetupFailed(Integer setupFailed)
The number of instances with
setup_failed status. |
void |
setShuttingDown(Integer shuttingDown)
The number of instances with
shutting_down status. |
void |
setStartFailed(Integer startFailed)
The number of instances with
start_failed status. |
void |
setStopped(Integer stopped)
The number of instances with
stopped status. |
void |
setStopping(Integer stopping)
The number of instances with
stopping status. |
void |
setTerminated(Integer terminated)
The number of instances with
terminated status. |
void |
setTerminating(Integer terminating)
The number of instances with
terminating status. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstancesCount |
withBooting(Integer booting)
The number of instances with
booting status. |
InstancesCount |
withConnectionLost(Integer connectionLost)
The number of instances with
connection_lost status. |
InstancesCount |
withOnline(Integer online)
The number of instances with
online status. |
InstancesCount |
withPending(Integer pending)
The number of instances with
pending status. |
InstancesCount |
withRebooting(Integer rebooting)
The number of instances with
rebooting status. |
InstancesCount |
withRequested(Integer requested)
The number of instances with
requested status. |
InstancesCount |
withRunningSetup(Integer runningSetup)
The number of instances with
running_setup status. |
InstancesCount |
withSetupFailed(Integer setupFailed)
The number of instances with
setup_failed status. |
InstancesCount |
withShuttingDown(Integer shuttingDown)
The number of instances with
shutting_down status. |
InstancesCount |
withStartFailed(Integer startFailed)
The number of instances with
start_failed status. |
InstancesCount |
withStopped(Integer stopped)
The number of instances with
stopped status. |
InstancesCount |
withStopping(Integer stopping)
The number of instances with
stopping status. |
InstancesCount |
withTerminated(Integer terminated)
The number of instances with
terminated status. |
InstancesCount |
withTerminating(Integer terminating)
The number of instances with
terminating status. |
public Integer getBooting()
booting
status.booting
status.public void setBooting(Integer booting)
booting
status.booting
- The number of instances with booting
status.public InstancesCount withBooting(Integer booting)
booting
status.
Returns a reference to this object so that method calls can be chained together.
booting
- The number of instances with booting
status.public Integer getConnectionLost()
connection_lost
status.connection_lost
status.public void setConnectionLost(Integer connectionLost)
connection_lost
status.connectionLost
- The number of instances with connection_lost
status.public InstancesCount withConnectionLost(Integer connectionLost)
connection_lost
status.
Returns a reference to this object so that method calls can be chained together.
connectionLost
- The number of instances with connection_lost
status.public Integer getOnline()
online
status.online
status.public void setOnline(Integer online)
online
status.online
- The number of instances with online
status.public InstancesCount withOnline(Integer online)
online
status.
Returns a reference to this object so that method calls can be chained together.
online
- The number of instances with online
status.public Integer getPending()
pending
status.pending
status.public void setPending(Integer pending)
pending
status.pending
- The number of instances with pending
status.public InstancesCount withPending(Integer pending)
pending
status.
Returns a reference to this object so that method calls can be chained together.
pending
- The number of instances with pending
status.public Integer getRebooting()
rebooting
status.rebooting
status.public void setRebooting(Integer rebooting)
rebooting
status.rebooting
- The number of instances with rebooting
status.public InstancesCount withRebooting(Integer rebooting)
rebooting
status.
Returns a reference to this object so that method calls can be chained together.
rebooting
- The number of instances with rebooting
status.public Integer getRequested()
requested
status.requested
status.public void setRequested(Integer requested)
requested
status.requested
- The number of instances with requested
status.public InstancesCount withRequested(Integer requested)
requested
status.
Returns a reference to this object so that method calls can be chained together.
requested
- The number of instances with requested
status.public Integer getRunningSetup()
running_setup
status.running_setup
status.public void setRunningSetup(Integer runningSetup)
running_setup
status.runningSetup
- The number of instances with running_setup
status.public InstancesCount withRunningSetup(Integer runningSetup)
running_setup
status.
Returns a reference to this object so that method calls can be chained together.
runningSetup
- The number of instances with running_setup
status.public Integer getSetupFailed()
setup_failed
status.setup_failed
status.public void setSetupFailed(Integer setupFailed)
setup_failed
status.setupFailed
- The number of instances with setup_failed
status.public InstancesCount withSetupFailed(Integer setupFailed)
setup_failed
status.
Returns a reference to this object so that method calls can be chained together.
setupFailed
- The number of instances with setup_failed
status.public Integer getShuttingDown()
shutting_down
status.shutting_down
status.public void setShuttingDown(Integer shuttingDown)
shutting_down
status.shuttingDown
- The number of instances with shutting_down
status.public InstancesCount withShuttingDown(Integer shuttingDown)
shutting_down
status.
Returns a reference to this object so that method calls can be chained together.
shuttingDown
- The number of instances with shutting_down
status.public Integer getStartFailed()
start_failed
status.start_failed
status.public void setStartFailed(Integer startFailed)
start_failed
status.startFailed
- The number of instances with start_failed
status.public InstancesCount withStartFailed(Integer startFailed)
start_failed
status.
Returns a reference to this object so that method calls can be chained together.
startFailed
- The number of instances with start_failed
status.public Integer getStopped()
stopped
status.stopped
status.public void setStopped(Integer stopped)
stopped
status.stopped
- The number of instances with stopped
status.public InstancesCount withStopped(Integer stopped)
stopped
status.
Returns a reference to this object so that method calls can be chained together.
stopped
- The number of instances with stopped
status.public Integer getStopping()
stopping
status.stopping
status.public void setStopping(Integer stopping)
stopping
status.stopping
- The number of instances with stopping
status.public InstancesCount withStopping(Integer stopping)
stopping
status.
Returns a reference to this object so that method calls can be chained together.
stopping
- The number of instances with stopping
status.public Integer getTerminated()
terminated
status.terminated
status.public void setTerminated(Integer terminated)
terminated
status.terminated
- The number of instances with terminated
status.public InstancesCount withTerminated(Integer terminated)
terminated
status.
Returns a reference to this object so that method calls can be chained together.
terminated
- The number of instances with terminated
status.public Integer getTerminating()
terminating
status.terminating
status.public void setTerminating(Integer terminating)
terminating
status.terminating
- The number of instances with terminating
status.public InstancesCount withTerminating(Integer terminating)
terminating
status.
Returns a reference to this object so that method calls can be chained together.
terminating
- The number of instances with terminating
status.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.