@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskPropertiesOverride extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains overrides for the task definition of a job.
Constructor and Description |
---|
TaskPropertiesOverride() |
Modifier and Type | Method and Description |
---|---|
TaskPropertiesOverride |
clone() |
boolean |
equals(Object obj) |
List<TaskContainerOverrides> |
getContainers()
The overrides for the container definition of a job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainers(Collection<TaskContainerOverrides> containers)
The overrides for the container definition of a job.
|
String |
toString()
Returns a string representation of this object.
|
TaskPropertiesOverride |
withContainers(Collection<TaskContainerOverrides> containers)
The overrides for the container definition of a job.
|
TaskPropertiesOverride |
withContainers(TaskContainerOverrides... containers)
The overrides for the container definition of a job.
|
public List<TaskContainerOverrides> getContainers()
The overrides for the container definition of a job.
public void setContainers(Collection<TaskContainerOverrides> containers)
The overrides for the container definition of a job.
containers
- The overrides for the container definition of a job.public TaskPropertiesOverride withContainers(TaskContainerOverrides... containers)
The overrides for the container definition of a job.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- The overrides for the container definition of a job.public TaskPropertiesOverride withContainers(Collection<TaskContainerOverrides> containers)
The overrides for the container definition of a job.
containers
- The overrides for the container definition of a job.public String toString()
toString
in class Object
Object.toString()
public TaskPropertiesOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.