public class RespondActivityTaskCompletedRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
result
The result of the activity task.
|
private java.lang.String |
taskToken
The
taskToken of the ActivityTask. |
NOOP
Constructor and Description |
---|
RespondActivityTaskCompletedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondActivityTaskCompletedRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResult()
The result of the activity task.
|
java.lang.String |
getTaskToken()
The
taskToken of the ActivityTask. |
int |
hashCode() |
void |
setResult(java.lang.String result)
The result of the activity task.
|
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.
|
RespondActivityTaskCompletedRequest |
withResult(java.lang.String result)
The result of the activity task.
|
RespondActivityTaskCompletedRequest |
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 result
The result of the activity task. It is a free form string that is implementation specific.
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 RespondActivityTaskCompletedRequest 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 setResult(java.lang.String result)
The result of the activity task. It is a free form string that is implementation specific.
result
- The result of the activity task. It is a free form string that is
implementation specific.public java.lang.String getResult()
The result of the activity task. It is a free form string that is implementation specific.
public RespondActivityTaskCompletedRequest withResult(java.lang.String result)
The result of the activity task. It is a free form string that is implementation specific.
result
- The result of the activity task. It is a free form string that is
implementation specific.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 RespondActivityTaskCompletedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()