@Generated(value="software.amazon.awssdk:codegen") public class TaskOverride extends Object implements StructuredPojo, ToCopyableBuilder<TaskOverride.Builder,TaskOverride>
The overrides associated with a task.
Modifier and Type | Class and Description |
---|---|
static interface |
TaskOverride.Builder |
Modifier and Type | Method and Description |
---|---|
static TaskOverride.Builder |
builder() |
List<ContainerOverride> |
containerOverrides()
One or more container overrides sent to a task.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends TaskOverride.Builder> |
serializableBuilderClass() |
String |
taskRoleArn()
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
TaskOverride.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<ContainerOverride> containerOverrides()
One or more container overrides sent to a task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public TaskOverride.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TaskOverride.Builder,TaskOverride>
public static TaskOverride.Builder builder()
public static Class<? extends TaskOverride.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.