@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceGroupStatus extends Object implements Serializable, Cloneable, StructuredPojo
The details of the instance group status.
| Constructor and Description |
|---|
InstanceGroupStatus () |
| Modifier and Type | Method and Description |
|---|---|
InstanceGroupStatus |
clone () |
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 |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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.
|
public InstanceGroupStatus()
public void setState(String state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState public String getState()
The current state of the instance group.
InstanceGroupState public InstanceGroupStatus withState(String state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState public void setState(InstanceGroupState state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState public InstanceGroupStatus withState(InstanceGroupState state)
The current state of the instance group.
state - The current state of the instance group.InstanceGroupState public void setStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
stateChangeReason - The status change reason details for the instance group.public InstanceGroupStateChangeReason getStateChangeReason()
The status change reason details for the instance group.
public InstanceGroupStatus withStateChangeReason(InstanceGroupStateChangeReason stateChangeReason)
The status change reason details for the instance group.
stateChangeReason - The status change reason details for the instance group.public void setTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
timeline - The timeline of the instance group status over time.public InstanceGroupTimeline getTimeline()
The timeline of the instance group status over time.
public InstanceGroupStatus withTimeline(InstanceGroupTimeline timeline)
The timeline of the instance group status over time.
timeline - The timeline of the instance group status over time.public String toString()
toString in class Object Object.toString() public InstanceGroupStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.