public class InstanceStateChangeReason
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The details of the status change reason for the instance.
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 |
---|
InstanceStateChangeReason() |
Modifier and Type | Method and Description |
---|---|
InstanceStateChangeReason |
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(InstanceStateChangeReasonCode 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.
|
InstanceStateChangeReason |
withCode(InstanceStateChangeReasonCode code)
The programmable code for the state change reason.
|
InstanceStateChangeReason |
withCode(java.lang.String code)
The programmable code for the state change reason.
|
InstanceStateChangeReason |
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.InstanceStateChangeReasonCode
public java.lang.String getCode()
The programmable code for the state change reason.
InstanceStateChangeReasonCode
public InstanceStateChangeReason withCode(java.lang.String code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceStateChangeReasonCode
public void setCode(InstanceStateChangeReasonCode code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceStateChangeReasonCode
public InstanceStateChangeReason withCode(InstanceStateChangeReasonCode code)
The programmable code for the state change reason.
code
- The programmable code for the state change reason.InstanceStateChangeReasonCode
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 InstanceStateChangeReason 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 InstanceStateChangeReason clone()
clone
in class java.lang.Object