public class RespondActivityTaskFailedRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
Optional. Detailed information about the failure.
|
private java.lang.String |
reason
Description of the error that may assist in diagnostics.
|
private java.lang.String |
taskToken
The
taskToken of the ActivityTask. |
NOOP
Constructor and Description |
---|
RespondActivityTaskFailedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondActivityTaskFailedRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
Optional. Detailed information about the failure.
|
java.lang.String |
getReason()
Description of the error that may assist in diagnostics.
|
java.lang.String |
getTaskToken()
The
taskToken of the ActivityTask. |
int |
hashCode() |
void |
setDetails(java.lang.String details)
Optional. Detailed information about the failure.
|
void |
setReason(java.lang.String reason)
Description of the error that may assist in diagnostics.
|
void |
setTaskToken(java.lang.String taskToken)
The
taskToken of the ActivityTask. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondActivityTaskFailedRequest |
withDetails(java.lang.String details)
Optional. Detailed information about the failure.
|
RespondActivityTaskFailedRequest |
withReason(java.lang.String reason)
Description of the error that may assist in diagnostics.
|
RespondActivityTaskFailedRequest |
withTaskToken(java.lang.String taskToken)
The
taskToken of the ActivityTask. |
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 taskToken
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should
be treated as an opaque value. If the task is passed to another process,
its taskToken
must also be passed. This enables it to
provide its progress and respond with results.private java.lang.String reason
Description of the error that may assist in diagnostics.
private java.lang.String details
Optional. Detailed information about the failure.
public void setTaskToken(java.lang.String taskToken)
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should
be treated as an opaque value. If the task is passed to another process,
its taskToken
must also be passed. This enables it to
provide its progress and respond with results.taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and
should be treated as an opaque value. If the task is passed to
another process, its taskToken
must also be passed.
This enables it to provide its progress and respond with results.public java.lang.String getTaskToken()
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should
be treated as an opaque value. If the task is passed to another process,
its taskToken
must also be passed. This enables it to
provide its progress and respond with results.taskToken
of the ActivityTask.
taskToken
is generated by the service
and should be treated as an opaque value. If the task is passed
to another process, its taskToken
must also be
passed. This enables it to provide its progress and respond with
results.public RespondActivityTaskFailedRequest withTaskToken(java.lang.String taskToken)
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should
be treated as an opaque value. If the task is passed to another process,
its taskToken
must also be passed. This enables it to
provide its progress and respond with results.taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and
should be treated as an opaque value. If the task is passed to
another process, its taskToken
must also be passed.
This enables it to provide its progress and respond with results.public void setReason(java.lang.String reason)
Description of the error that may assist in diagnostics.
reason
- Description of the error that may assist in diagnostics.public java.lang.String getReason()
Description of the error that may assist in diagnostics.
public RespondActivityTaskFailedRequest withReason(java.lang.String reason)
Description of the error that may assist in diagnostics.
reason
- Description of the error that may assist in diagnostics.public void setDetails(java.lang.String details)
Optional. Detailed information about the failure.
details
- Optional.public java.lang.String getDetails()
Optional. Detailed information about the failure.
public RespondActivityTaskFailedRequest withDetails(java.lang.String details)
Optional. Detailed information about the failure.
details
- Optional.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 RespondActivityTaskFailedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()