public class StepStateChangeReason extends Object implements Serializable, Cloneable
The details of the step state change reason.
| Constructor and Description |
|---|
StepStateChangeReason() |
| Modifier and Type | Method and Description |
|---|---|
StepStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The programmable code for the state change reason.
|
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(String code)
The programmable code for the state change reason.
|
void |
setMessage(String message)
The descriptive message for the state change reason.
|
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(String code)
The programmable code for the state change reason.
|
StepStateChangeReason |
withMessage(String message)
The descriptive message for the state change reason.
|
public String getCode()
Constraints:
Allowed Values: NONE
StepStateChangeReasonCodepublic void setCode(String code)
Constraints:
Allowed Values: NONE
code - The programmable code for the state change reason. Note: Currently,
the service provides no code for the state change.StepStateChangeReasonCodepublic StepStateChangeReason withCode(String code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: NONE
code - The programmable code for the state change reason. Note: Currently,
the service provides no code for the state change.StepStateChangeReasonCodepublic void setCode(StepStateChangeReasonCode code)
Constraints:
Allowed Values: NONE
code - The programmable code for the state change reason. Note: Currently,
the service provides no code for the state change.StepStateChangeReasonCodepublic StepStateChangeReason withCode(StepStateChangeReasonCode code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: NONE
code - The programmable code for the state change reason. Note: Currently,
the service provides no code for the state change.StepStateChangeReasonCodepublic String getMessage()
public void setMessage(String message)
message - The descriptive message for the state change reason.public StepStateChangeReason withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - The descriptive message for the state change reason.public String toString()
toString in class ObjectObject.toString()public StepStateChangeReason clone()
Copyright © 2015. All rights reserved.