Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>
@Generated("software.amazon.awssdk:codegen") public class SetTaskStatusRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>
Contains the parameters for SetTaskStatus.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetTaskStatusRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static SetTaskStatusRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
errorId() |
If an error occurred during the task, this value specifies the error code.
|
String |
errorMessage() |
If an error occurred during the task, this value specifies a text description of the error.
|
String |
errorStackTrace() |
If an error occurred during the task, this value specifies the stack trace associated with the error.
|
int |
hashCode() |
|
static Class<? extends SetTaskStatusRequest.Builder> |
serializableBuilderClass() |
|
String |
taskId() |
The ID of the task assigned to the task runner.
|
String |
taskStatus() |
If
FINISHED , the task successfully completed. |
SetTaskStatusRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String taskId()
The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.
public String taskStatus()
If FINISHED
, the task successfully completed. If FAILED
, the task ended unsuccessfully.
Preconditions use false.
FINISHED
, the task successfully completed. If FAILED
, the task ended
unsuccessfully. Preconditions use false.TaskStatus
public String errorId()
If an error occurred during the task, this value specifies the error code. This value is set on the physical attempt object. It is used to display error information to the user. It should not start with string "Service_" which is reserved by the system.
public String errorMessage()
If an error occurred during the task, this value specifies a text description of the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
public String errorStackTrace()
If an error occurred during the task, this value specifies the stack trace associated with the error. This value is set on the physical attempt object. It is used to display error information to the user. The web service does not parse this value.
public SetTaskStatusRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetTaskStatusRequest.Builder,SetTaskStatusRequest>
public static SetTaskStatusRequest.Builder builder()
public static Class<? extends SetTaskStatusRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.