@Generated(value="software.amazon.awssdk:codegen") public final class TaskOverride extends Object implements SdkPojo, Serializable, 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) |
String |
executionRoleArn()
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker
daemon can assume.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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 String executionRoleArn()
The Amazon Resource Name (ARN) of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.
public TaskOverride.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TaskOverride.Builder,TaskOverride>
public static TaskOverride.Builder builder()
public static Class<? extends TaskOverride.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.