public class StepStateChangeReason
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The details of the step state change reason.
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 descriptive message for the state change reason.
|
Constructor and Description |
---|
StepStateChangeReason() |
Modifier and Type | Method and Description |
---|---|
StepStateChangeReason |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The programmable code for the state change reason.
|
java.lang.String |
getMessage()
The descriptive message for the state change reason.
|
int |
hashCode() |
void |
setCode(StepStateChangeReasonCode 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 descriptive message for the state change reason.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StepStateChangeReason |
withCode(StepStateChangeReasonCode code)
The programmable code for the state change reason.
|
StepStateChangeReason |
withCode(java.lang.String code)
The programmable code for the state change reason.
|
StepStateChangeReason |
withMessage(java.lang.String message)
The descriptive message for the state change reason.
|
private java.lang.String code
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
private java.lang.String message
The descriptive message for the state change reason.
public void setCode(java.lang.String code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
code
- The programmable code for the state change reason. Note:
Currently, the service provides no code for the state change.StepStateChangeReasonCode
public java.lang.String getCode()
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
StepStateChangeReasonCode
public StepStateChangeReason withCode(java.lang.String code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
code
- The programmable code for the state change reason. Note:
Currently, the service provides no code for the state change.StepStateChangeReasonCode
public void setCode(StepStateChangeReasonCode code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
code
- The programmable code for the state change reason. Note:
Currently, the service provides no code for the state change.StepStateChangeReasonCode
public StepStateChangeReason withCode(StepStateChangeReasonCode code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
code
- The programmable code for the state change reason. Note:
Currently, the service provides no code for the state change.StepStateChangeReasonCode
public void setMessage(java.lang.String message)
The descriptive message for the state change reason.
message
- The descriptive message for the state change reason.public java.lang.String getMessage()
The descriptive message for the state change reason.
public StepStateChangeReason withMessage(java.lang.String message)
The descriptive message for the state change reason.
message
- The descriptive message for the state change reason.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 StepStateChangeReason clone()
clone
in class java.lang.Object