@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskOverride extends Object implements Serializable, Cloneable, StructuredPojo
The overrides associated with a task.
Constructor and Description |
---|
TaskOverride() |
Modifier and Type | Method and Description |
---|---|
TaskOverride |
clone() |
boolean |
equals(Object obj) |
List<ContainerOverride> |
getContainerOverrides()
One or more container overrides sent to a task.
|
String |
getTaskRoleArn()
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
|
void |
setTaskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TaskOverride |
withContainerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
|
TaskOverride |
withContainerOverrides(ContainerOverride... containerOverrides)
One or more container overrides sent to a task.
|
TaskOverride |
withTaskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
public List<ContainerOverride> getContainerOverrides()
One or more container overrides sent to a task.
public void setContainerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
containerOverrides
- One or more container overrides sent to a task.public TaskOverride withContainerOverrides(ContainerOverride... containerOverrides)
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)
or withContainerOverrides(java.util.Collection)
if
you want to override the existing values.
containerOverrides
- One or more container overrides sent to a task.public TaskOverride withContainerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
containerOverrides
- One or more container overrides sent to a task.public void setTaskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
taskRoleArn
- The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in
this task are granted the permissions that are specified in this role.public String getTaskRoleArn()
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
public TaskOverride withTaskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
taskRoleArn
- The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in
this task are granted the permissions that are specified in this role.public String toString()
toString
in class Object
Object.toString()
public TaskOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.