CopyableBuilder<TaskOverride.Builder,TaskOverride>
, SdkBuilder<TaskOverride.Builder,TaskOverride>
public static interface TaskOverride.Builder extends CopyableBuilder<TaskOverride.Builder,TaskOverride>
Modifier and Type | Method | Description |
---|---|---|
TaskOverride.Builder |
containerOverrides(Collection<ContainerOverride> 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
apply, 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.
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.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.