|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.InstanceStatus
public class InstanceStatus
The instance status details.
Constructor Summary | |
---|---|
InstanceStatus()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getState()
The current state of the instance. |
InstanceStateChangeReason |
getStateChangeReason()
The details of the status change reason for the instance. |
InstanceTimeline |
getTimeline()
The timeline of the instance status over time. |
int |
hashCode()
|
void |
setState(InstanceState state)
The current state of the instance. |
void |
setState(String state)
The current state of the instance. |
void |
setStateChangeReason(InstanceStateChangeReason stateChangeReason)
The details of the status change reason for the instance. |
void |
setTimeline(InstanceTimeline timeline)
The timeline of the instance status over time. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceStatus |
withState(InstanceState state)
The current state of the instance. |
InstanceStatus |
withState(String state)
The current state of the instance. |
InstanceStatus |
withStateChangeReason(InstanceStateChangeReason stateChangeReason)
The details of the status change reason for the instance. |
InstanceStatus |
withTimeline(InstanceTimeline timeline)
The timeline of the instance status over time. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceStatus()
Method Detail |
---|
public String getState()
Constraints:
Allowed Values: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
InstanceState
public void setState(String state)
Constraints:
Allowed Values: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
state
- The current state of the instance.InstanceState
public InstanceStatus withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
state
- The current state of the instance.
InstanceState
public void setState(InstanceState state)
Constraints:
Allowed Values: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
state
- The current state of the instance.InstanceState
public InstanceStatus withState(InstanceState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AWAITING_FULFILLMENT, PROVISIONING, BOOTSTRAPPING, RUNNING, TERMINATED
state
- The current state of the instance.
InstanceState
public InstanceStateChangeReason getStateChangeReason()
public void setStateChangeReason(InstanceStateChangeReason stateChangeReason)
stateChangeReason
- The details of the status change reason for the instance.public InstanceStatus withStateChangeReason(InstanceStateChangeReason stateChangeReason)
Returns a reference to this object so that method calls can be chained together.
stateChangeReason
- The details of the status change reason for the instance.
public InstanceTimeline getTimeline()
public void setTimeline(InstanceTimeline timeline)
timeline
- The timeline of the instance status over time.public InstanceStatus withTimeline(InstanceTimeline timeline)
Returns a reference to this object so that method calls can be chained together.
timeline
- The timeline of the instance 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 |