@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateWorkflowExecutionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TerminateWorkflowExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateWorkflowExecutionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChildPolicy()
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated.
|
String |
getDetails()
Details for terminating the workflow execution.
|
String |
getDomain()
The domain of the workflow execution to terminate.
|
String |
getReason()
A descriptive reason for terminating the workflow execution.
|
String |
getRunId()
The runId of the workflow execution to terminate.
|
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(String childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated.
|
void |
setDetails(String details)
Details for terminating the workflow execution.
|
void |
setDomain(String domain)
The domain of the workflow execution to terminate.
|
void |
setReason(String reason)
A descriptive reason for terminating the workflow execution.
|
void |
setRunId(String runId)
The runId of the workflow execution to terminate.
|
void |
setWorkflowId(String workflowId)
The workflowId of the workflow execution to terminate.
|
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(String childPolicy)
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated.
|
TerminateWorkflowExecutionRequest |
withDetails(String details)
Details for terminating the workflow execution.
|
TerminateWorkflowExecutionRequest |
withDomain(String domain)
The domain of the workflow execution to terminate.
|
TerminateWorkflowExecutionRequest |
withReason(String reason)
A descriptive reason for terminating the workflow execution.
|
TerminateWorkflowExecutionRequest |
withRunId(String runId)
The runId of the workflow execution to terminate.
|
TerminateWorkflowExecutionRequest |
withWorkflowId(String workflowId)
The workflowId of the workflow execution to terminate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomain(String domain)
The domain of the workflow execution to terminate.
domain
- The domain of the workflow execution to terminate.public String getDomain()
The domain of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withDomain(String domain)
The domain of the workflow execution to terminate.
domain
- The domain of the workflow execution to terminate.public void setWorkflowId(String workflowId)
The workflowId of the workflow execution to terminate.
workflowId
- The workflowId of the workflow execution to terminate.public String getWorkflowId()
The workflowId of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withWorkflowId(String workflowId)
The workflowId of the workflow execution to terminate.
workflowId
- The workflowId of the workflow execution to terminate.public void setRunId(String runId)
The runId of the workflow execution to terminate.
runId
- The runId of the workflow execution to terminate.public String getRunId()
The runId of the workflow execution to terminate.
public TerminateWorkflowExecutionRequest withRunId(String runId)
The runId of the workflow execution to terminate.
runId
- The runId of the workflow execution to terminate.public void setReason(String reason)
A descriptive reason for terminating the workflow execution.
reason
- A descriptive reason for terminating the workflow execution.public String getReason()
A descriptive reason for terminating the workflow execution.
public TerminateWorkflowExecutionRequest withReason(String reason)
A descriptive reason for terminating the workflow execution.
reason
- A descriptive reason for terminating the workflow execution.public void setDetails(String details)
Details for terminating the workflow execution.
details
- Details for terminating the workflow execution.public String getDetails()
Details for terminating the workflow execution.
public TerminateWorkflowExecutionRequest withDetails(String details)
Details for terminating the workflow execution.
details
- Details for terminating the workflow execution.public void setChildPolicy(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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
ChildPolicy
public 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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
ChildPolicy
public TerminateWorkflowExecutionRequest withChildPolicy(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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
ChildPolicy
public String toString()
toString
in class Object
Object.toString()
public TerminateWorkflowExecutionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.