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 InstancesCount
clone()
boolean
equals(Object obj)
Integer
getAssigning()
The number of instances in the Assigning state.Integer
getBooting()
The number of instances withbooting
status.Integer
getConnectionLost()
The number of instances withconnection_lost
status.Integer
getDeregistering()
The number of instances in the Deregistering state.Integer
getOnline()
The number of instances withonline
status.Integer
getPending()
The number of instances withpending
status.Integer
getRebooting()
The number of instances withrebooting
status.Integer
getRegistered()
The number of instances in the Registered state.Integer
getRegistering()
The number of instances in the Registering state.Integer
getRequested()
The number of instances withrequested
status.Integer
getRunningSetup()
The number of instances withrunning_setup
status.Integer
getSetupFailed()
The number of instances withsetup_failed
status.Integer
getShuttingDown()
The number of instances withshutting_down
status.Integer
getStartFailed()
The number of instances withstart_failed
status.Integer
getStopped()
The number of instances withstopped
status.Integer
getStopping()
The number of instances withstopping
status.Integer
getTerminated()
The number of instances withterminated
status.Integer
getTerminating()
The number of instances withterminating
status.Integer
getUnassigning()
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
setOnline(Integer online)
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstancesCount
withAssigning(Integer assigning)
The number of instances in the Assigning state.InstancesCount
withBooting(Integer booting)
The number of instances withbooting
status.InstancesCount
withConnectionLost(Integer connectionLost)
The number of instances withconnection_lost
status.InstancesCount
withDeregistering(Integer deregistering)
The number of instances in the Deregistering state.InstancesCount
withOnline(Integer online)
The number of instances withonline
status.InstancesCount
withPending(Integer pending)
The number of instances withpending
status.InstancesCount
withRebooting(Integer rebooting)
The number of instances withrebooting
status.InstancesCount
withRegistered(Integer registered)
The number of instances in the Registered state.InstancesCount
withRegistering(Integer registering)
The number of instances in the Registering state.InstancesCount
withRequested(Integer requested)
The number of instances withrequested
status.InstancesCount
withRunningSetup(Integer runningSetup)
The number of instances withrunning_setup
status.InstancesCount
withSetupFailed(Integer setupFailed)
The number of instances withsetup_failed
status.InstancesCount
withShuttingDown(Integer shuttingDown)
The number of instances withshutting_down
status.InstancesCount
withStartFailed(Integer startFailed)
The number of instances withstart_failed
status.InstancesCount
withStopped(Integer stopped)
The number of instances withstopped
status.InstancesCount
withStopping(Integer stopping)
The number of instances withstopping
status.InstancesCount
withTerminated(Integer terminated)
The number of instances withterminated
status.InstancesCount
withTerminating(Integer terminating)
The number of instances withterminating
status.InstancesCount
withUnassigning(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
booting
status.- Parameters:
booting
- The number of instances withbooting
status.
-
getBooting
public Integer getBooting()
The number of instances with
booting
status.- Returns:
- The number of instances with
booting
status.
-
withBooting
public InstancesCount withBooting(Integer booting)
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
public void setConnectionLost(Integer connectionLost)
The number of instances with
connection_lost
status.- Parameters:
connectionLost
- The number of instances withconnection_lost
status.
-
getConnectionLost
public Integer getConnectionLost()
The number of instances with
connection_lost
status.- Returns:
- The number of instances with
connection_lost
status.
-
withConnectionLost
public InstancesCount withConnectionLost(Integer connectionLost)
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
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
online
status.- Parameters:
online
- The number of instances withonline
status.
-
getOnline
public Integer getOnline()
The number of instances with
online
status.- Returns:
- The number of instances with
online
status.
-
withOnline
public InstancesCount withOnline(Integer online)
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
public void setPending(Integer pending)
The number of instances with
pending
status.- Parameters:
pending
- The number of instances withpending
status.
-
getPending
public Integer getPending()
The number of instances with
pending
status.- Returns:
- The number of instances with
pending
status.
-
withPending
public InstancesCount withPending(Integer pending)
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
public void setRebooting(Integer rebooting)
The number of instances with
rebooting
status.- Parameters:
rebooting
- The number of instances withrebooting
status.
-
getRebooting
public Integer getRebooting()
The number of instances with
rebooting
status.- Returns:
- The number of instances with
rebooting
status.
-
withRebooting
public InstancesCount withRebooting(Integer rebooting)
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
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
requested
status.- Parameters:
requested
- The number of instances withrequested
status.
-
getRequested
public Integer getRequested()
The number of instances with
requested
status.- Returns:
- The number of instances with
requested
status.
-
withRequested
public InstancesCount withRequested(Integer requested)
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
public void setRunningSetup(Integer runningSetup)
The number of instances with
running_setup
status.- Parameters:
runningSetup
- The number of instances withrunning_setup
status.
-
getRunningSetup
public Integer getRunningSetup()
The number of instances with
running_setup
status.- Returns:
- The number of instances with
running_setup
status.
-
withRunningSetup
public InstancesCount withRunningSetup(Integer runningSetup)
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
public void setSetupFailed(Integer setupFailed)
The number of instances with
setup_failed
status.- Parameters:
setupFailed
- The number of instances withsetup_failed
status.
-
getSetupFailed
public Integer getSetupFailed()
The number of instances with
setup_failed
status.- Returns:
- The number of instances with
setup_failed
status.
-
withSetupFailed
public InstancesCount withSetupFailed(Integer setupFailed)
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
public void setShuttingDown(Integer shuttingDown)
The number of instances with
shutting_down
status.- Parameters:
shuttingDown
- The number of instances withshutting_down
status.
-
getShuttingDown
public Integer getShuttingDown()
The number of instances with
shutting_down
status.- Returns:
- The number of instances with
shutting_down
status.
-
withShuttingDown
public InstancesCount withShuttingDown(Integer shuttingDown)
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
public void setStartFailed(Integer startFailed)
The number of instances with
start_failed
status.- Parameters:
startFailed
- The number of instances withstart_failed
status.
-
getStartFailed
public Integer getStartFailed()
The number of instances with
start_failed
status.- Returns:
- The number of instances with
start_failed
status.
-
withStartFailed
public InstancesCount withStartFailed(Integer startFailed)
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
public void setStopped(Integer stopped)
The number of instances with
stopped
status.- Parameters:
stopped
- The number of instances withstopped
status.
-
getStopped
public Integer getStopped()
The number of instances with
stopped
status.- Returns:
- The number of instances with
stopped
status.
-
withStopped
public InstancesCount withStopped(Integer stopped)
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
public void setStopping(Integer stopping)
The number of instances with
stopping
status.- Parameters:
stopping
- The number of instances withstopping
status.
-
getStopping
public Integer getStopping()
The number of instances with
stopping
status.- Returns:
- The number of instances with
stopping
status.
-
withStopping
public InstancesCount withStopping(Integer stopping)
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
public void setTerminated(Integer terminated)
The number of instances with
terminated
status.- Parameters:
terminated
- The number of instances withterminated
status.
-
getTerminated
public Integer getTerminated()
The number of instances with
terminated
status.- Returns:
- The number of instances with
terminated
status.
-
withTerminated
public InstancesCount withTerminated(Integer terminated)
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
public void setTerminating(Integer terminating)
The number of instances with
terminating
status.- Parameters:
terminating
- The number of instances withterminating
status.
-
getTerminating
public Integer getTerminating()
The number of instances with
terminating
status.- Returns:
- The number of instances with
terminating
status.
-
withTerminating
public InstancesCount withTerminating(Integer terminating)
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
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstancesCount clone()
-
-