public class InstanceGroupStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The details of the instance group status.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
state
The current state of the instance group.
|
private InstanceGroupStateChangeReason |
stateChangeReason
The status change reason details for the instance group.
|
private InstanceGroupTimeline |
timeline
The timeline of the instance group status over time.
|
Constructor and Description |
---|
InstanceGroupStatus() |
Modifier and Type | Method and Description |
---|---|
InstanceGroupStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.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(java.lang.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.
|
private java.lang.String state
The current state of the instance group.
private InstanceGroupStateChangeReason stateChangeReason
The status change reason details for the instance group.
private InstanceGroupTimeline timeline
The timeline of the instance group status over time.
public void setState(java.lang.String state)
The current state of the instance group.
state
- The current state of the instance group.InstanceGroupState
public java.lang.String getState()
The current state of the instance group.
InstanceGroupState
public InstanceGroupStatus withState(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InstanceGroupStatus clone()
clone
in class java.lang.Object