Package com.amazonaws.services.ecs.model
Class TaskOverride
java.lang.Object
com.amazonaws.services.ecs.model.TaskOverride
- All Implemented Interfaces:
Serializable,Cloneable
The overrides associated with a task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanOne or more container overrides sent to a task.inthashCode()voidsetContainerOverrides(Collection<ContainerOverride> containerOverrides) One or more container overrides sent to a task.toString()Returns a string representation of this object; useful for testing and debugging.withContainerOverrides(ContainerOverride... containerOverrides) One or more container overrides sent to a task.withContainerOverrides(Collection<ContainerOverride> containerOverrides) One or more container overrides sent to a task.
-
Constructor Details
-
TaskOverride
public TaskOverride()
-
-
Method Details
-
getContainerOverrides
One or more container overrides sent to a task.
- Returns:
- One or more container overrides sent to a task.
-
setContainerOverrides
One or more container overrides sent to a task.
- Parameters:
containerOverrides- One or more container overrides sent to a task.
-
withContainerOverrides
One or more container overrides sent to a task.
NOTE: This method appends the values to the existing list (if any). Use
setContainerOverrides(java.util.Collection)orwithContainerOverrides(java.util.Collection)if you want to override the existing values.- Parameters:
containerOverrides- One or more container overrides sent to a task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withContainerOverrides
One or more container overrides sent to a task.
- Parameters:
containerOverrides- One or more container overrides sent to a task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-