Package com.amazonaws.services.ecs.model
Class StopTaskResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.StopTaskResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StopTaskResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopTaskResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StopTaskResult
clone()
boolean
equals(Object obj)
Task
getTask()
int
hashCode()
void
setTask(Task task)
String
toString()
Returns a string representation of this object; useful for testing and debugging.StopTaskResult
withTask(Task task)
-
-
-
Method Detail
-
setTask
public void setTask(Task task)
- Parameters:
task
-
-
getTask
public Task getTask()
- Returns:
-
withTask
public StopTaskResult withTask(Task task)
- Parameters:
task
-- 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 StopTaskResult clone()
-
-