@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowExecutionCancelRequestedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
 Provides the details of the WorkflowExecutionCancelRequested event.
 
| Constructor and Description | 
|---|
| WorkflowExecutionCancelRequestedEventAttributes() | 
| Modifier and Type | Method and Description | 
|---|---|
| WorkflowExecutionCancelRequestedEventAttributes | clone() | 
| boolean | equals(Object obj) | 
| String | getCause()
 If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies
 the cause. | 
| Long | getExternalInitiatedEventId()
 The ID of the  RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. | 
| WorkflowExecution | getExternalWorkflowExecution()
 The external workflow execution for which the cancellation was requested. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCause(String cause)
 If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies
 the cause. | 
| void | setCause(WorkflowExecutionCancelRequestedCause cause)
 If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies
 the cause. | 
| void | setExternalInitiatedEventId(Long externalInitiatedEventId)
 The ID of the  RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. | 
| void | setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
 The external workflow execution for which the cancellation was requested. | 
| String | toString()Returns a string representation of this object. | 
| WorkflowExecutionCancelRequestedEventAttributes | withCause(String cause)
 If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies
 the cause. | 
| WorkflowExecutionCancelRequestedEventAttributes | withCause(WorkflowExecutionCancelRequestedCause cause)
 If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies
 the cause. | 
| WorkflowExecutionCancelRequestedEventAttributes | withExternalInitiatedEventId(Long externalInitiatedEventId)
 The ID of the  RequestCancelExternalWorkflowExecutionInitiatedevent corresponding to theRequestCancelExternalWorkflowExecutiondecision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. | 
| WorkflowExecutionCancelRequestedEventAttributes | withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
 The external workflow execution for which the cancellation was requested. | 
public WorkflowExecutionCancelRequestedEventAttributes()
public void setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.
externalWorkflowExecution - The external workflow execution for which the cancellation was requested.public WorkflowExecution getExternalWorkflowExecution()
The external workflow execution for which the cancellation was requested.
public WorkflowExecutionCancelRequestedEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.
externalWorkflowExecution - The external workflow execution for which the cancellation was requested.public void setExternalInitiatedEventId(Long externalInitiatedEventId)
 The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
 RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. This information can be useful for
 diagnosing problems by tracing back the chain of events leading up to this event.
 
externalInitiatedEventId - The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
        RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source
        event with this ID can be found in the history of the source workflow execution. This information can be
        useful for diagnosing problems by tracing back the chain of events leading up to this event.public Long getExternalInitiatedEventId()
 The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
 RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. This information can be useful for
 diagnosing problems by tracing back the chain of events leading up to this event.
 
RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
         RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source
         event with this ID can be found in the history of the source workflow execution. This information can be
         useful for diagnosing problems by tracing back the chain of events leading up to this event.public WorkflowExecutionCancelRequestedEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
 The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
 RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event
 with this ID can be found in the history of the source workflow execution. This information can be useful for
 diagnosing problems by tracing back the chain of events leading up to this event.
 
externalInitiatedEventId - The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the
        RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source
        event with this ID can be found in the history of the source workflow execution. This information can be
        useful for diagnosing problems by tracing back the chain of events leading up to this event.public void setCause(String cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and
        specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
        child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCausepublic String getCause()
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
WorkflowExecutionCancelRequestedCausepublic WorkflowExecutionCancelRequestedEventAttributes withCause(String cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and
        specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
        child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCausepublic void setCause(WorkflowExecutionCancelRequestedCause cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and
        specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
        child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCausepublic WorkflowExecutionCancelRequestedEventAttributes withCause(WorkflowExecutionCancelRequestedCause cause)
If set, indicates that the request to cancel the workflow execution was automatically generated, and specifies the cause. This happens if the parent workflow execution times out or is terminated, and the child policy is set to cancel child executions.
cause - If set, indicates that the request to cancel the workflow execution was automatically generated, and
        specifies the cause. This happens if the parent workflow execution times out or is terminated, and the
        child policy is set to cancel child executions.WorkflowExecutionCancelRequestedCausepublic String toString()
toString in class ObjectObject.toString()public WorkflowExecutionCancelRequestedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.