Class RespondActivityTaskCanceledRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simpleworkflow.model.RespondActivityTaskCanceledRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RespondActivityTaskCanceledRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RespondActivityTaskCanceledRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RespondActivityTaskCanceledRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDetails()Optional. Information about the cancellation.StringgetTaskToken()ThetaskTokenof the ActivityTask.inthashCode()voidsetDetails(String details)Optional. Information about the cancellation.voidsetTaskToken(String taskToken)ThetaskTokenof the ActivityTask.StringtoString()Returns a string representation of this object; useful for testing and debugging.RespondActivityTaskCanceledRequestwithDetails(String details)Optional. Information about the cancellation.RespondActivityTaskCanceledRequestwithTaskToken(String taskToken)ThetaskTokenof 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
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken- ThetaskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.
-
getTaskToken
public String getTaskToken()
The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Returns:
- The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.
-
withTaskToken
public RespondActivityTaskCanceledRequest withTaskToken(String taskToken)
The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken- ThetaskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust 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.
-
setDetails
public void setDetails(String details)
Optional. Information about the cancellation.
- Parameters:
details- Optional.
-
getDetails
public String getDetails()
Optional. Information about the cancellation.
- Returns:
- Optional.
-
withDetails
public RespondActivityTaskCanceledRequest withDetails(String details)
Optional. Information about the cancellation.
- Parameters:
details- Optional.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RespondActivityTaskCanceledRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-