Class RespondActivityTaskCompletedRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleworkflow.model.RespondActivityTaskCompletedRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RespondActivityTaskCompletedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RespondActivityTaskCompletedRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RespondActivityTaskCompletedRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getResult()
The result of the activity task.String
getTaskToken()
ThetaskToken
of the ActivityTask.int
hashCode()
void
setResult(String result)
The result of the activity task.void
setTaskToken(String taskToken)
ThetaskToken
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)
ThetaskToken
of the ActivityTask.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setTaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken
- ThetaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.
-
getTaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Returns:
- 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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.
-
withTaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken
- ThetaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResult
public void setResult(String result)
The result of the activity task. It is a free form string that is implementation specific.
- Parameters:
result
- The result of the activity task. It is a free form string that is implementation specific.
-
getResult
public String getResult()
The result of the activity task. It is a free form string that is implementation specific.
- Returns:
- The result of the activity task. It is a free form string that is implementation specific.
-
withResult
public RespondActivityTaskCompletedRequest withResult(String result)
The result of the activity task. It is a free form string that is implementation specific.
- Parameters:
result
- The result of the activity task. It is a free form string that is implementation specific.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RespondActivityTaskCompletedRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-