public static interface TaskOverride.Builder extends CopyableBuilder<TaskOverride.Builder,TaskOverride>
Modifier and Type | Method and Description |
---|---|
TaskOverride.Builder |
containerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
|
TaskOverride.Builder |
containerOverrides(Consumer<ContainerOverride.Builder>... containerOverrides)
One or more container overrides sent to a task.
|
TaskOverride.Builder |
containerOverrides(ContainerOverride... containerOverrides)
One or more container overrides sent to a task.
|
TaskOverride.Builder |
taskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
copy
applyMutation, build
TaskOverride.Builder containerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides sent to a task.
containerOverrides
- One or more container overrides sent to a task.TaskOverride.Builder containerOverrides(ContainerOverride... containerOverrides)
One or more container overrides sent to a task.
containerOverrides
- One or more container overrides sent to a task.TaskOverride.Builder containerOverrides(Consumer<ContainerOverride.Builder>... containerOverrides)
One or more container overrides sent to a task.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #containerOverrides(List)
.containerOverrides
- a consumer that will call methods on List.Builder
#containerOverrides(List)
TaskOverride.Builder taskRoleArn(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.