@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.WorkflowStatuspublic String getStatus()
The current state of the workflow.
WorkflowStatuspublic WorkflowState withStatus(String status)
The current state of the workflow.
status - The current state of the workflow.WorkflowStatuspublic WorkflowState withStatus(WorkflowStatus status)
The current state of the workflow.
status - The current state of the workflow.WorkflowStatuspublic 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 ObjectObject.toString()public WorkflowState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.