com.amazonaws.services.elasticmapreduce.model
Class InstanceGroupStatus

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.InstanceGroupStatus
All Implemented Interfaces:
Serializable

public class InstanceGroupStatus
extends Object
implements Serializable

The details of the instance group status.

See Also:
Serialized Form

Constructor Summary
InstanceGroupStatus()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getState()
          The current state of the instance group.
 InstanceGroupStateChangeReason getStateChangeReason()
          The status change reason details for the instance group.
 InstanceGroupTimeline getTimeline()
          The timeline of the instance group status over time.
 int hashCode()
           
 void setState(InstanceGroupState state)
          The current state of the instance group.
 void setState(String state)
          The current state of the instance group.
 void setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
          The status change reason details for the instance group.
 void setTimeline(InstanceGroupTimeline timeline)
          The timeline of the instance group status over time.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 InstanceGroupStatus withState(InstanceGroupState state)
          The current state of the instance group.
 InstanceGroupStatus withState(String state)
          The current state of the instance group.
 InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
          The status change reason details for the instance group.
 InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)
          The timeline of the instance group status over time.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceGroupStatus

public InstanceGroupStatus()
Method Detail

getState

public String getState()
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.

Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED

Returns:
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.
See Also:
InstanceGroupState

setState

public void setState(String state)
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.

Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED

Parameters:
state - The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.
See Also:
InstanceGroupState

withState

public InstanceGroupStatus withState(String state)
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED

Parameters:
state - The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceGroupState

setState

public void setState(InstanceGroupState state)
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.

Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED

Parameters:
state - The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.
See Also:
InstanceGroupState

withState

public InstanceGroupStatus withState(InstanceGroupState state)
The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED

Parameters:
state - The current state of the instance group. The following values are deprecated: ARRESTED, SHUTTING_DOWN, and ENDED. Use SUSPENDED, TERMINATING, and TERMINATED instead, respectively.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceGroupState

getStateChangeReason

public InstanceGroupStateChangeReason getStateChangeReason()
The status change reason details for the instance group.

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

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.

withStateChangeReason

public InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.

Returns a reference to this object so that method calls can be chained together.

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

getTimeline

public InstanceGroupTimeline getTimeline()
The timeline of the instance group status over time.

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

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.

withTimeline

public InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timeline - The timeline of the instance group status over time.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2016. All rights reserved.