public class InstanceGroupStateChangeReason
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The status change reason details for the instance group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The programmable code for the state change reason.
|
private java.lang.String |
message
The status change reason description.
|
Constructor and Description |
---|
InstanceGroupStateChangeReason() |
Modifier and Type | Method and Description |
---|---|
InstanceGroupStateChangeReason |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The programmable code for the state change reason.
|
java.lang.String |
getMessage()
The status change reason description.
|
int |
hashCode() |
void |
setCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.
|
void |
setCode(java.lang.String code)
The programmable code for the state change reason.
|
void |
setMessage(java.lang.String message)
The status change reason description.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceGroupStateChangeReason |
withCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.
|
InstanceGroupStateChangeReason |
withCode(java.lang.String code)
The programmable code for the state change reason.
|
InstanceGroupStateChangeReason |
withMessage(java.lang.String message)
The status change reason description.
|
private java.lang.String code
The programmable code for the state change reason.
private java.lang.String message
The status change reason description.
public void setCode(java.lang.String code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public java.lang.String getCode()
The programmable code for the state change reason.
InstanceGroupStateChangeReasonCode
public InstanceGroupStateChangeReason withCode(java.lang.String code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public void setCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public InstanceGroupStateChangeReason withCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public void setMessage(java.lang.String message)
The status change reason description.
message
- The status change reason description.public java.lang.String getMessage()
The status change reason description.
public InstanceGroupStateChangeReason withMessage(java.lang.String message)
The status change reason description.
message
- The status change reason description.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 InstanceGroupStateChangeReason clone()
clone
in class java.lang.Object