@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowState extends Object implements Serializable, Cloneable, StructuredPojo
A group of fields that describe the current status of workflow.
Constructor and Description |
---|
WorkflowState() |
Modifier and Type | Method and Description |
---|---|
WorkflowState |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
Describes how or why the workflow changed state.
|
String |
getStatus()
The current state of the workflow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
Describes how or why the workflow changed state.
|
void |
setStatus(String status)
The current state of the workflow.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowState |
withReason(String reason)
Describes how or why the workflow changed state.
|
WorkflowState |
withStatus(String status)
The current state of the workflow.
|
WorkflowState |
withStatus(WorkflowStatus status)
The current state of the workflow.
|
public void setStatus(String status)
The current state of the workflow.
status
- The current state of the workflow.WorkflowStatus
public String getStatus()
The current state of the workflow.
WorkflowStatus
public WorkflowState withStatus(String status)
The current state of the workflow.
status
- The current state of the workflow.WorkflowStatus
public WorkflowState withStatus(WorkflowStatus status)
The current state of the workflow.
status
- The current state of the workflow.WorkflowStatus
public void setReason(String reason)
Describes how or why the workflow changed state.
reason
- Describes how or why the workflow changed state.public String getReason()
Describes how or why the workflow changed state.
public WorkflowState withReason(String reason)
Describes how or why the workflow changed state.
reason
- Describes how or why the workflow changed state.public String toString()
toString
in class Object
Object.toString()
public WorkflowState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.