@Generated(value="software.amazon.awssdk:codegen") public final class SendTaskFailureRequest extends SfnRequest implements ToCopyableBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SendTaskFailureRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SendTaskFailureRequest.Builder |
builder() |
String |
cause()
A more detailed explanation of the cause of the failure.
|
boolean |
equals(Object obj) |
String |
error()
The error code of the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SendTaskFailureRequest.Builder> |
serializableBuilderClass() |
String |
taskToken()
The token that represents this task.
|
SendTaskFailureRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String taskToken()
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
public String error()
The error code of the failure.
public String cause()
A more detailed explanation of the cause of the failure.
public SendTaskFailureRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SendTaskFailureRequest.Builder,SendTaskFailureRequest>toBuilder in class SfnRequestpublic static SendTaskFailureRequest.Builder builder()
public static Class<? extends SendTaskFailureRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.