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