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