Class InstanceGroupStatus

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.InstanceGroupStatus
All Implemented Interfaces:
Serializable, Cloneable

public class InstanceGroupStatus extends Object implements Serializable, Cloneable

The details of the instance group status.

See Also:
  • Constructor Details

    • InstanceGroupStatus

      public InstanceGroupStatus()
  • Method Details

    • setState

      public void setState(String state)

      The current state of the instance group.

      Parameters:
      state - The current state of the instance group.
      See Also:
    • getState

      public String getState()

      The current state of the instance group.

      Returns:
      The current state of the instance group.
      See Also:
    • withState

      public InstanceGroupStatus withState(String state)

      The current state of the instance group.

      Parameters:
      state - The current state of the instance group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setState

      public void setState(InstanceGroupState state)

      The current state of the instance group.

      Parameters:
      state - The current state of the instance group.
      See Also:
    • withState

      public InstanceGroupStatus withState(InstanceGroupState state)

      The current state of the instance group.

      Parameters:
      state - The current state of the instance group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setStateChangeReason

      public void setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)

      The status change reason details for the instance group.

      Parameters:
      stateChangeReason - The status change reason details for the instance group.
    • getStateChangeReason

      public InstanceGroupStateChangeReason getStateChangeReason()

      The status change reason details for the instance group.

      Returns:
      The status change reason details for the instance group.
    • withStateChangeReason

      public InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)

      The status change reason details for the instance group.

      Parameters:
      stateChangeReason - The status change reason details for the instance group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTimeline

      public void setTimeline(InstanceGroupTimeline timeline)

      The timeline of the instance group status over time.

      Parameters:
      timeline - The timeline of the instance group status over time.
    • getTimeline

      public InstanceGroupTimeline getTimeline()

      The timeline of the instance group status over time.

      Returns:
      The timeline of the instance group status over time.
    • withTimeline

      public InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)

      The timeline of the instance group status over time.

      Parameters:
      timeline - The timeline of the instance group status over time.
      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 InstanceGroupStatus clone()
      Overrides:
      clone in class Object