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:
  • Constructor Details

    • InstancesCount

      public InstancesCount()
  • Method Details

    • 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 with booting 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 with booting 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 with connection_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 with connection_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 with online 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 with online 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 with pending 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 with pending 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 with rebooting 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 with rebooting 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 with requested 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 with requested 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 with running_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 with running_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 with setup_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 with setup_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 with shutting_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 with shutting_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 with start_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 with start_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 with stopped 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 with stopped 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 with stopping 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 with stopping 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 with terminated 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 with terminated 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 with terminating 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 with terminating 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public InstancesCount clone()
      Overrides:
      clone in class Object