public class TerminateWorkflowExecutionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
childPolicy
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
private java.lang.String |
details
Optional. Details for terminating the workflow execution.
|
private java.lang.String |
domain
The domain of the workflow execution to terminate.
|
private java.lang.String |
reason
Optional. A descriptive reason for terminating the workflow
execution.
|
private java.lang.String |
runId
The runId of the workflow execution to terminate.
|
private java.lang.String |
workflowId
The workflowId of the workflow execution to terminate.
|
NOOP
Constructor and Description |
---|
TerminateWorkflowExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateWorkflowExecutionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChildPolicy()
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
java.lang.String |
getDetails()
Optional. Details for terminating the workflow execution.
|
java.lang.String |
getDomain()
The domain of the workflow execution to terminate.
|
java.lang.String |
getReason()
Optional. A descriptive reason for terminating the workflow
execution.
|
java.lang.String |
getRunId()
The runId of the workflow execution to terminate.
|
java.lang.String |
getWorkflowId()
The workflowId of the workflow execution to terminate.
|
int |
hashCode() |
void |
setChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
void |
setChildPolicy(java.lang.String childPolicy)
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
void |
setDetails(java.lang.String details)
Optional. Details for terminating the workflow execution.
|
void |
setDomain(java.lang.String domain)
The domain of the workflow execution to terminate.
|
void |
setReason(java.lang.String reason)
Optional. A descriptive reason for terminating the workflow
execution.
|
void |
setRunId(java.lang.String runId)
The runId of the workflow execution to terminate.
|
void |
setWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to terminate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateWorkflowExecutionRequest |
withChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
TerminateWorkflowExecutionRequest |
withChildPolicy(java.lang.String childPolicy)
If set, specifies the policy to use for the child workflow executions of
the workflow execution being terminated.
|
TerminateWorkflowExecutionRequest |
withDetails(java.lang.String details)
Optional. Details for terminating the workflow execution.
|
TerminateWorkflowExecutionRequest |
withDomain(java.lang.String domain)
The domain of the workflow execution to terminate.
|
TerminateWorkflowExecutionRequest |
withReason(java.lang.String reason)
Optional. A descriptive reason for terminating the workflow
execution.
|
TerminateWorkflowExecutionRequest |
withRunId(java.lang.String runId)
The runId of the workflow execution to terminate.
|
TerminateWorkflowExecutionRequest |
withWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to terminate.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String domain
The domain of the workflow execution to terminate.
private java.lang.String workflowId
The workflowId of the workflow execution to terminate.
private java.lang.String runId
The runId of the workflow execution to terminate.
private java.lang.String reason
Optional. A descriptive reason for terminating the workflow execution.
private java.lang.String details
Optional. Details for terminating the workflow execution.
private java.lang.String childPolicy
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.public void setDomain(java.lang.String domain)
The domain of the workflow execution to terminate.
domain
- The domain of the workflow execution to terminate.public java.lang.String getDomain()
The domain of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withDomain(java.lang.String domain)
The domain of the workflow execution to terminate.
domain
- The domain of the workflow execution to terminate.public void setWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to terminate.
workflowId
- The workflowId of the workflow execution to terminate.public java.lang.String getWorkflowId()
The workflowId of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withWorkflowId(java.lang.String workflowId)
The workflowId of the workflow execution to terminate.
workflowId
- The workflowId of the workflow execution to terminate.public void setRunId(java.lang.String runId)
The runId of the workflow execution to terminate.
runId
- The runId of the workflow execution to terminate.public java.lang.String getRunId()
The runId of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withRunId(java.lang.String runId)
The runId of the workflow execution to terminate.
runId
- The runId of the workflow execution to terminate.public void setReason(java.lang.String reason)
Optional. A descriptive reason for terminating the workflow execution.
reason
- Optional.public java.lang.String getReason()
Optional. A descriptive reason for terminating the workflow execution.
public TerminateWorkflowExecutionRequest withReason(java.lang.String reason)
Optional. A descriptive reason for terminating the workflow execution.
reason
- Optional.public void setDetails(java.lang.String details)
Optional. Details for terminating the workflow execution.
details
- Optional.public java.lang.String getDetails()
Optional. Details for terminating the workflow execution.
public TerminateWorkflowExecutionRequest withDetails(java.lang.String details)
Optional. Details for terminating the workflow execution.
details
- Optional.public void setChildPolicy(java.lang.String childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy
- If set, specifies the policy to use for the child workflow
executions of the workflow execution being terminated. This policy
overrides the child policy specified for the workflow execution at
registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicy
public java.lang.String getChildPolicy()
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.The supported child policies are:
WorkflowExecutionCancelRequested
event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicy
public TerminateWorkflowExecutionRequest withChildPolicy(java.lang.String childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy
- If set, specifies the policy to use for the child workflow
executions of the workflow execution being terminated. This policy
overrides the child policy specified for the workflow execution at
registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicy
public void setChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy
- If set, specifies the policy to use for the child workflow
executions of the workflow execution being terminated. This policy
overrides the child policy specified for the workflow execution at
registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicy
public TerminateWorkflowExecutionRequest withChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It is
up to the decider to take appropriate actions when it receives an
execution history with this event.childPolicy
- If set, specifies the policy to use for the child workflow
executions of the workflow execution being terminated. This policy
overrides the child policy specified for the workflow execution at
registration time or when starting the execution.
The supported child policies are:
WorkflowExecutionCancelRequested
event in its
history. It is up to the decider to take appropriate actions when
it receives an execution history with this event.ChildPolicy
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TerminateWorkflowExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()