@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StopTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| StopTaskResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| StopTaskResult | clone() | 
| boolean | equals(Object obj) | 
| Task | getTask()
 The task that was stopped. | 
| int | hashCode() | 
| void | setTask(Task task)
 The task that was stopped. | 
| String | toString()Returns a string representation of this object. | 
| StopTaskResult | withTask(Task task)
 The task that was stopped. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTask(Task task)
The task that was stopped.
task - The task that was stopped.public Task getTask()
The task that was stopped.
public StopTaskResult withTask(Task task)
The task that was stopped.
task - The task that was stopped.public String toString()
toString in class ObjectObject.toString()public StopTaskResult clone()
Copyright © 2021. All rights reserved.