|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.InstanceGroupStatus
public class InstanceGroupStatus
The details of the instance group status.
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 |
---|
public InstanceGroupStatus()
Method Detail |
---|
public String getState()
Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED
InstanceGroupState
public void setState(String state)
Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED
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.InstanceGroupState
public InstanceGroupStatus withState(String state)
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
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.
InstanceGroupState
public void setState(InstanceGroupState state)
Constraints:
Allowed Values: PROVISIONING, BOOTSTRAPPING, RUNNING, RESIZING, SUSPENDED, TERMINATING, TERMINATED, ARRESTED, SHUTTING_DOWN, ENDED
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.InstanceGroupState
public InstanceGroupStatus withState(InstanceGroupState state)
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
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.
InstanceGroupState
public InstanceGroupStateChangeReason getStateChangeReason()
public void setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
stateChangeReason
- The status change reason details for the instance group.public InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
Returns a reference to this object so that method calls can be chained together.
stateChangeReason
- The status change reason details for the instance group.
public InstanceGroupTimeline getTimeline()
public void setTimeline(InstanceGroupTimeline timeline)
timeline
- The timeline of the instance group status over time.public InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)
Returns a reference to this object so that method calls can be chained together.
timeline
- The timeline of the instance group status over time.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |