@Generated(value="software.amazon.awssdk:codegen") public final class TerminateWorkflowExecutionRequest extends SwfRequest implements ToCopyableBuilder<TerminateWorkflowExecutionRequest.Builder,TerminateWorkflowExecutionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TerminateWorkflowExecutionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TerminateWorkflowExecutionRequest.Builder |
builder() |
ChildPolicy |
childPolicy()
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated.
|
String |
childPolicyAsString()
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated.
|
String |
details()
Details for terminating the workflow execution.
|
String |
domain()
The domain of the workflow execution to terminate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
A descriptive reason for terminating the workflow execution.
|
String |
runId()
The runId of the workflow execution to terminate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TerminateWorkflowExecutionRequest.Builder> |
serializableBuilderClass() |
TerminateWorkflowExecutionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workflowId()
The workflowId of the workflow execution to terminate.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domain()
The domain of the workflow execution to terminate.
public final String workflowId()
The workflowId of the workflow execution to terminate.
public final String runId()
The runId of the workflow execution to terminate.
public final String reason()
A descriptive reason for terminating the workflow execution.
public final String details()
Details for terminating the workflow execution.
public final 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.
If the service returns an enum value that is not available in the current SDK version, childPolicy will
return ChildPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
childPolicyAsString().
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.
ChildPolicypublic final String childPolicyAsString()
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.
If the service returns an enum value that is not available in the current SDK version, childPolicy will
return ChildPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
childPolicyAsString().
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.
ChildPolicypublic TerminateWorkflowExecutionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TerminateWorkflowExecutionRequest.Builder,TerminateWorkflowExecutionRequest>toBuilder in class SwfRequestpublic static TerminateWorkflowExecutionRequest.Builder builder()
public static Class<? extends TerminateWorkflowExecutionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.