public class RequestCancelExternalWorkflowExecutionFailedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the
RequestCancelExternalWorkflowExecutionFailed
event.
Constructor and Description |
---|
RequestCancelExternalWorkflowExecutionFailedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
The cause of the failure.
|
String |
getControl()
Returns the value of the Control property for this object.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
Long |
getInitiatedEventId()
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel
this external workflow execution. |
String |
getRunId()
The
runId of the external workflow execution. |
String |
getWorkflowId()
The
workflowId of the external workflow to which the
cancel request was to be delivered. |
int |
hashCode() |
void |
setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure.
|
void |
setCause(String cause)
The cause of the failure.
|
void |
setControl(String control)
Sets the value of the Control property for this object.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
void |
setInitiatedEventId(Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel
this external workflow execution. |
void |
setRunId(String runId)
The
runId of the external workflow execution. |
void |
setWorkflowId(String workflowId)
The
workflowId of the external workflow to which the
cancel request was to be delivered. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
The cause of the failure.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withCause(String cause)
The cause of the failure.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withControl(String control)
Sets the value of the Control property for this object.
|
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution decision for this
cancellation request. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withInitiatedEventId(Long initiatedEventId)
The ID of the
RequestCancelExternalWorkflowExecutionInitiated event
corresponding to the
RequestCancelExternalWorkflowExecution decision to cancel
this external workflow execution. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withRunId(String runId)
The
runId of the external workflow execution. |
RequestCancelExternalWorkflowExecutionFailedEventAttributes |
withWorkflowId(String workflowId)
The
workflowId of the external workflow to which the
cancel request was to be delivered. |
public RequestCancelExternalWorkflowExecutionFailedEventAttributes()
public String getWorkflowId()
workflowId
of the external workflow to which the
cancel request was to be delivered.
Constraints:
Length: 1 - 256
workflowId
of the external workflow to which the
cancel request was to be delivered.public void setWorkflowId(String workflowId)
workflowId
of the external workflow to which the
cancel request was to be delivered.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the external workflow to which the
cancel request was to be delivered.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withWorkflowId(String workflowId)
workflowId
of the external workflow to which the
cancel request was to be delivered.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the external workflow to which the
cancel request was to be delivered.public String getRunId()
runId
of the external workflow execution.
Constraints:
Length: 0 - 64
runId
of the external workflow execution.public void setRunId(String runId)
runId
of the external workflow execution.
Constraints:
Length: 0 - 64
runId
- The runId
of the external workflow execution.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withRunId(String runId)
runId
of the external workflow execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
runId
- The runId
of the external workflow execution.public String getCause()
Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
RequestCancelExternalWorkflowExecutionFailedCause
public void setCause(String cause)
Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(String cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public void setCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public RequestCancelExternalWorkflowExecutionFailedEventAttributes withCause(RequestCancelExternalWorkflowExecutionFailedCause cause)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION, REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED, OPERATION_NOT_PERMITTED
cause
- The cause of the failure. This information is generated by the system
and can be useful for diagnostic purposes. RequestCancelExternalWorkflowExecutionFailedCause
public Long getInitiatedEventId()
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel
this external 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 external workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public void setInitiatedEventId(Long initiatedEventId)
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel
this external workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.initiatedEventId
- The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel
this external workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withInitiatedEventId(Long initiatedEventId)
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel
this external workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.
Returns a reference to this object so that method calls can be chained together.
initiatedEventId
- The ID of the
RequestCancelExternalWorkflowExecutionInitiated
event
corresponding to the
RequestCancelExternalWorkflowExecution
decision to cancel
this external workflow execution. This information can be useful for
diagnosing problems by tracing back the chain of events leading up to
this event.public Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.
Returns a reference to this object so that method calls can be chained together.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
RequestCancelExternalWorkflowExecution
decision for this
cancellation request. This information can be useful for diagnosing
problems by tracing back the chain of events leading up to this event.public String getControl()
Constraints:
Length: 0 - 32768
public void setControl(String control)
Constraints:
Length: 0 - 32768
control
- The new value for the Control property for this object.public RequestCancelExternalWorkflowExecutionFailedEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
control
- The new value for the Control property for this object.public String toString()
toString
in class Object
Object.toString()
public RequestCancelExternalWorkflowExecutionFailedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.