Class InstancesCount
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.InstancesCount
-
- All Implemented Interfaces:
Serializable,Cloneable
public class InstancesCount extends Object implements Serializable, Cloneable
Describes how many instances a stack has for each status.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstancesCount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancesCountclone()booleanequals(Object obj)IntegergetAssigning()The number of instances in the Assigning state.IntegergetBooting()The number of instances withbootingstatus.IntegergetConnectionLost()The number of instances withconnection_loststatus.IntegergetDeregistering()The number of instances in the Deregistering state.IntegergetOnline()The number of instances withonlinestatus.IntegergetPending()The number of instances withpendingstatus.IntegergetRebooting()The number of instances withrebootingstatus.IntegergetRegistered()The number of instances in the Registered state.IntegergetRegistering()The number of instances in the Registering state.IntegergetRequested()The number of instances withrequestedstatus.IntegergetRunningSetup()The number of instances withrunning_setupstatus.IntegergetSetupFailed()The number of instances withsetup_failedstatus.IntegergetShuttingDown()The number of instances withshutting_downstatus.IntegergetStartFailed()The number of instances withstart_failedstatus.IntegergetStopped()The number of instances withstoppedstatus.IntegergetStopping()The number of instances withstoppingstatus.IntegergetTerminated()The number of instances withterminatedstatus.IntegergetTerminating()The number of instances withterminatingstatus.IntegergetUnassigning()The number of instances in the Unassigning state.inthashCode()voidsetAssigning(Integer assigning)The number of instances in the Assigning state.voidsetBooting(Integer booting)The number of instances withbootingstatus.voidsetConnectionLost(Integer connectionLost)The number of instances withconnection_loststatus.voidsetDeregistering(Integer deregistering)The number of instances in the Deregistering state.voidsetOnline(Integer online)The number of instances withonlinestatus.voidsetPending(Integer pending)The number of instances withpendingstatus.voidsetRebooting(Integer rebooting)The number of instances withrebootingstatus.voidsetRegistered(Integer registered)The number of instances in the Registered state.voidsetRegistering(Integer registering)The number of instances in the Registering state.voidsetRequested(Integer requested)The number of instances withrequestedstatus.voidsetRunningSetup(Integer runningSetup)The number of instances withrunning_setupstatus.voidsetSetupFailed(Integer setupFailed)The number of instances withsetup_failedstatus.voidsetShuttingDown(Integer shuttingDown)The number of instances withshutting_downstatus.voidsetStartFailed(Integer startFailed)The number of instances withstart_failedstatus.voidsetStopped(Integer stopped)The number of instances withstoppedstatus.voidsetStopping(Integer stopping)The number of instances withstoppingstatus.voidsetTerminated(Integer terminated)The number of instances withterminatedstatus.voidsetTerminating(Integer terminating)The number of instances withterminatingstatus.voidsetUnassigning(Integer unassigning)The number of instances in the Unassigning state.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstancesCountwithAssigning(Integer assigning)The number of instances in the Assigning state.InstancesCountwithBooting(Integer booting)The number of instances withbootingstatus.InstancesCountwithConnectionLost(Integer connectionLost)The number of instances withconnection_loststatus.InstancesCountwithDeregistering(Integer deregistering)The number of instances in the Deregistering state.InstancesCountwithOnline(Integer online)The number of instances withonlinestatus.InstancesCountwithPending(Integer pending)The number of instances withpendingstatus.InstancesCountwithRebooting(Integer rebooting)The number of instances withrebootingstatus.InstancesCountwithRegistered(Integer registered)The number of instances in the Registered state.InstancesCountwithRegistering(Integer registering)The number of instances in the Registering state.InstancesCountwithRequested(Integer requested)The number of instances withrequestedstatus.InstancesCountwithRunningSetup(Integer runningSetup)The number of instances withrunning_setupstatus.InstancesCountwithSetupFailed(Integer setupFailed)The number of instances withsetup_failedstatus.InstancesCountwithShuttingDown(Integer shuttingDown)The number of instances withshutting_downstatus.InstancesCountwithStartFailed(Integer startFailed)The number of instances withstart_failedstatus.InstancesCountwithStopped(Integer stopped)The number of instances withstoppedstatus.InstancesCountwithStopping(Integer stopping)The number of instances withstoppingstatus.InstancesCountwithTerminated(Integer terminated)The number of instances withterminatedstatus.InstancesCountwithTerminating(Integer terminating)The number of instances withterminatingstatus.InstancesCountwithUnassigning(Integer unassigning)The number of instances in the Unassigning state.
-
-
-
Method Detail
-
setAssigning
public void setAssigning(Integer assigning)
The number of instances in the Assigning state.
- Parameters:
assigning- The number of instances in the Assigning state.
-
getAssigning
public Integer getAssigning()
The number of instances in the Assigning state.
- Returns:
- The number of instances in the Assigning state.
-
withAssigning
public InstancesCount withAssigning(Integer assigning)
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
public void setBooting(Integer booting)
The number of instances with
bootingstatus.- Parameters:
booting- The number of instances withbootingstatus.
-
getBooting
public Integer getBooting()
The number of instances with
bootingstatus.- Returns:
- The number of instances with
bootingstatus.
-
withBooting
public InstancesCount withBooting(Integer booting)
The number of instances with
bootingstatus.- Parameters:
booting- The number of instances withbootingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionLost
public void setConnectionLost(Integer connectionLost)
The number of instances with
connection_loststatus.- Parameters:
connectionLost- The number of instances withconnection_loststatus.
-
getConnectionLost
public Integer getConnectionLost()
The number of instances with
connection_loststatus.- Returns:
- The number of instances with
connection_loststatus.
-
withConnectionLost
public InstancesCount withConnectionLost(Integer connectionLost)
The number of instances with
connection_loststatus.- Parameters:
connectionLost- The number of instances withconnection_loststatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeregistering
public void setDeregistering(Integer deregistering)
The number of instances in the Deregistering state.
- Parameters:
deregistering- The number of instances in the Deregistering state.
-
getDeregistering
public Integer getDeregistering()
The number of instances in the Deregistering state.
- Returns:
- The number of instances in the Deregistering state.
-
withDeregistering
public InstancesCount withDeregistering(Integer deregistering)
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
public void setOnline(Integer online)
The number of instances with
onlinestatus.- Parameters:
online- The number of instances withonlinestatus.
-
getOnline
public Integer getOnline()
The number of instances with
onlinestatus.- Returns:
- The number of instances with
onlinestatus.
-
withOnline
public InstancesCount withOnline(Integer online)
The number of instances with
onlinestatus.- Parameters:
online- The number of instances withonlinestatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPending
public void setPending(Integer pending)
The number of instances with
pendingstatus.- Parameters:
pending- The number of instances withpendingstatus.
-
getPending
public Integer getPending()
The number of instances with
pendingstatus.- Returns:
- The number of instances with
pendingstatus.
-
withPending
public InstancesCount withPending(Integer pending)
The number of instances with
pendingstatus.- Parameters:
pending- The number of instances withpendingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRebooting
public void setRebooting(Integer rebooting)
The number of instances with
rebootingstatus.- Parameters:
rebooting- The number of instances withrebootingstatus.
-
getRebooting
public Integer getRebooting()
The number of instances with
rebootingstatus.- Returns:
- The number of instances with
rebootingstatus.
-
withRebooting
public InstancesCount withRebooting(Integer rebooting)
The number of instances with
rebootingstatus.- Parameters:
rebooting- The number of instances withrebootingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegistered
public void setRegistered(Integer registered)
The number of instances in the Registered state.
- Parameters:
registered- The number of instances in the Registered state.
-
getRegistered
public Integer getRegistered()
The number of instances in the Registered state.
- Returns:
- The number of instances in the Registered state.
-
withRegistered
public InstancesCount withRegistered(Integer registered)
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
public void setRegistering(Integer registering)
The number of instances in the Registering state.
- Parameters:
registering- The number of instances in the Registering state.
-
getRegistering
public Integer getRegistering()
The number of instances in the Registering state.
- Returns:
- The number of instances in the Registering state.
-
withRegistering
public InstancesCount withRegistering(Integer registering)
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
public void setRequested(Integer requested)
The number of instances with
requestedstatus.- Parameters:
requested- The number of instances withrequestedstatus.
-
getRequested
public Integer getRequested()
The number of instances with
requestedstatus.- Returns:
- The number of instances with
requestedstatus.
-
withRequested
public InstancesCount withRequested(Integer requested)
The number of instances with
requestedstatus.- Parameters:
requested- The number of instances withrequestedstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunningSetup
public void setRunningSetup(Integer runningSetup)
The number of instances with
running_setupstatus.- Parameters:
runningSetup- The number of instances withrunning_setupstatus.
-
getRunningSetup
public Integer getRunningSetup()
The number of instances with
running_setupstatus.- Returns:
- The number of instances with
running_setupstatus.
-
withRunningSetup
public InstancesCount withRunningSetup(Integer runningSetup)
The number of instances with
running_setupstatus.- Parameters:
runningSetup- The number of instances withrunning_setupstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSetupFailed
public void setSetupFailed(Integer setupFailed)
The number of instances with
setup_failedstatus.- Parameters:
setupFailed- The number of instances withsetup_failedstatus.
-
getSetupFailed
public Integer getSetupFailed()
The number of instances with
setup_failedstatus.- Returns:
- The number of instances with
setup_failedstatus.
-
withSetupFailed
public InstancesCount withSetupFailed(Integer setupFailed)
The number of instances with
setup_failedstatus.- Parameters:
setupFailed- The number of instances withsetup_failedstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShuttingDown
public void setShuttingDown(Integer shuttingDown)
The number of instances with
shutting_downstatus.- Parameters:
shuttingDown- The number of instances withshutting_downstatus.
-
getShuttingDown
public Integer getShuttingDown()
The number of instances with
shutting_downstatus.- Returns:
- The number of instances with
shutting_downstatus.
-
withShuttingDown
public InstancesCount withShuttingDown(Integer shuttingDown)
The number of instances with
shutting_downstatus.- Parameters:
shuttingDown- The number of instances withshutting_downstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartFailed
public void setStartFailed(Integer startFailed)
The number of instances with
start_failedstatus.- Parameters:
startFailed- The number of instances withstart_failedstatus.
-
getStartFailed
public Integer getStartFailed()
The number of instances with
start_failedstatus.- Returns:
- The number of instances with
start_failedstatus.
-
withStartFailed
public InstancesCount withStartFailed(Integer startFailed)
The number of instances with
start_failedstatus.- Parameters:
startFailed- The number of instances withstart_failedstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
public void setStopped(Integer stopped)
The number of instances with
stoppedstatus.- Parameters:
stopped- The number of instances withstoppedstatus.
-
getStopped
public Integer getStopped()
The number of instances with
stoppedstatus.- Returns:
- The number of instances with
stoppedstatus.
-
withStopped
public InstancesCount withStopped(Integer stopped)
The number of instances with
stoppedstatus.- Parameters:
stopped- The number of instances withstoppedstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopping
public void setStopping(Integer stopping)
The number of instances with
stoppingstatus.- Parameters:
stopping- The number of instances withstoppingstatus.
-
getStopping
public Integer getStopping()
The number of instances with
stoppingstatus.- Returns:
- The number of instances with
stoppingstatus.
-
withStopping
public InstancesCount withStopping(Integer stopping)
The number of instances with
stoppingstatus.- Parameters:
stopping- The number of instances withstoppingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTerminated
public void setTerminated(Integer terminated)
The number of instances with
terminatedstatus.- Parameters:
terminated- The number of instances withterminatedstatus.
-
getTerminated
public Integer getTerminated()
The number of instances with
terminatedstatus.- Returns:
- The number of instances with
terminatedstatus.
-
withTerminated
public InstancesCount withTerminated(Integer terminated)
The number of instances with
terminatedstatus.- Parameters:
terminated- The number of instances withterminatedstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTerminating
public void setTerminating(Integer terminating)
The number of instances with
terminatingstatus.- Parameters:
terminating- The number of instances withterminatingstatus.
-
getTerminating
public Integer getTerminating()
The number of instances with
terminatingstatus.- Returns:
- The number of instances with
terminatingstatus.
-
withTerminating
public InstancesCount withTerminating(Integer terminating)
The number of instances with
terminatingstatus.- Parameters:
terminating- The number of instances withterminatingstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUnassigning
public void setUnassigning(Integer unassigning)
The number of instances in the Unassigning state.
- Parameters:
unassigning- The number of instances in the Unassigning state.
-
getUnassigning
public Integer getUnassigning()
The number of instances in the Unassigning state.
- Returns:
- The number of instances in the Unassigning state.
-
withUnassigning
public InstancesCount withUnassigning(Integer unassigning)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstancesCount clone()
-
-