public class RespondActivityTaskCanceledRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details
Optional. Information about the cancellation.
|
private java.lang.String |
taskToken
The
taskToken of the ActivityTask. |
NOOP
Constructor and Description |
---|
RespondActivityTaskCanceledRequest() |
Modifier and Type | Method and Description |
---|---|
RespondActivityTaskCanceledRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDetails()
Optional. Information about the cancellation.
|
java.lang.String |
getTaskToken()
The
taskToken of the ActivityTask. |
int |
hashCode() |
void |
setDetails(java.lang.String details)
Optional. Information about the cancellation.
|
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.
|
RespondActivityTaskCanceledRequest |
withDetails(java.lang.String details)
Optional. Information about the cancellation.
|
RespondActivityTaskCanceledRequest |
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 details
Optional. Information about the cancellation.
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 RespondActivityTaskCanceledRequest 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 setDetails(java.lang.String details)
Optional. Information about the cancellation.
details
- Optional.public java.lang.String getDetails()
Optional. Information about the cancellation.
public RespondActivityTaskCanceledRequest withDetails(java.lang.String details)
Optional. Information about the cancellation.
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 RespondActivityTaskCanceledRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()