@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetActivityTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetActivityTaskResult() |
Modifier and Type | Method and Description |
---|---|
GetActivityTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getInput()
The string that contains the JSON input data for the task.
|
String |
getTaskToken()
A token that identifies the scheduled task.
|
int |
hashCode() |
void |
setInput(String input)
The string that contains the JSON input data for the task.
|
void |
setTaskToken(String taskToken)
A token that identifies the scheduled task.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetActivityTaskResult |
withInput(String input)
The string that contains the JSON input data for the task.
|
GetActivityTaskResult |
withTaskToken(String taskToken)
A token that identifies the scheduled task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskToken(String taskToken)
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
taskToken
- A token that identifies the scheduled task. This token must be copied and included in subsequent calls to
SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress
or completion of the task.public String getTaskToken()
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
public GetActivityTaskResult withTaskToken(String taskToken)
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
taskToken
- A token that identifies the scheduled task. This token must be copied and included in subsequent calls to
SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress
or completion of the task.public void setInput(String input)
The string that contains the JSON input data for the task.
input
- The string that contains the JSON input data for the task.public String getInput()
The string that contains the JSON input data for the task.
public GetActivityTaskResult withInput(String input)
The string that contains the JSON input data for the task.
input
- The string that contains the JSON input data for the task.public String toString()
toString
in class Object
Object.toString()
public GetActivityTaskResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.