@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcsProperties extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the properties for the Amazon ECS resources of a job.
Constructor and Description |
---|
EcsProperties() |
Modifier and Type | Method and Description |
---|---|
EcsProperties |
clone() |
boolean |
equals(Object obj) |
List<EcsTaskProperties> |
getTaskProperties()
An object that contains the properties 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<EcsTaskProperties> taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.
|
String |
toString()
Returns a string representation of this object.
|
EcsProperties |
withTaskProperties(Collection<EcsTaskProperties> taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.
|
EcsProperties |
withTaskProperties(EcsTaskProperties... taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.
|
public List<EcsTaskProperties> getTaskProperties()
An object that contains the properties 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<EcsTaskProperties> taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
taskProperties
- An object that contains the properties for the Amazon ECS task definition of a job. This object is currently limited to one element.
public EcsProperties withTaskProperties(EcsTaskProperties... taskProperties)
An object that contains the properties 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
- An object that contains the properties for the Amazon ECS task definition of a job. This object is currently limited to one element.
public EcsProperties withTaskProperties(Collection<EcsTaskProperties> taskProperties)
An object that contains the properties for the Amazon ECS task definition of a job.
This object is currently limited to one element.
taskProperties
- An object that contains the properties 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 EcsProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.