public class RespondActivityTaskCompletedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RespondActivityTaskCompletedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondActivityTaskCompletedRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getResult()
The result of the activity task.
|
String |
getTaskToken()
The
taskToken of the ActivityTask. |
int |
hashCode() |
void |
setResult(String result)
The result of the activity task.
|
void |
setTaskToken(String taskToken)
The
taskToken of the ActivityTask. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondActivityTaskCompletedRequest |
withResult(String result)
The result of the activity task.
|
RespondActivityTaskCompletedRequest |
withTaskToken(String taskToken)
The
taskToken of the ActivityTask. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTaskToken(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 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(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(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 String getResult()
The result of the activity task. It is a free form string that is implementation specific.
public RespondActivityTaskCompletedRequest withResult(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 String toString()
toString
in class Object
Object.toString()
public RespondActivityTaskCompletedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.