public class WorkflowExecutionCancelRequestedEventAttributes extends Object implements Serializable, Cloneable
Provides 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
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. |
WorkflowExecution |
getExternalWorkflowExecution()
The external workflow execution for which the cancellation was requested.
|
int |
hashCode() |
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
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. |
void |
setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The external workflow execution for which the cancellation was requested.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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
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. |
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.WorkflowExecutionCancelRequestedCause
public 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.
WorkflowExecutionCancelRequestedCause
public 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.WorkflowExecutionCancelRequestedCause
public 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.WorkflowExecutionCancelRequestedCause
public 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.WorkflowExecutionCancelRequestedCause
public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionCancelRequestedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.