public static interface TaskOverride.Builder extends SdkPojo, CopyableBuilder<TaskOverride.Builder,TaskOverride>
| Modifier and Type | Method and Description |
|---|---|
TaskOverride.Builder |
containerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides that are sent to a task.
|
TaskOverride.Builder |
containerOverrides(Consumer<ContainerOverride.Builder>... containerOverrides)
One or more container overrides that are sent to a task.
|
TaskOverride.Builder |
containerOverrides(ContainerOverride... containerOverrides)
One or more container overrides that are sent to a task.
|
TaskOverride.Builder |
cpu(String cpu)
The cpu override for the task.
|
default TaskOverride.Builder |
ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The ephemeral storage setting override for the task.
|
TaskOverride.Builder |
ephemeralStorage(EphemeralStorage ephemeralStorage)
The ephemeral storage setting override for the task.
|
TaskOverride.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the task execution IAM role override for the task.
|
TaskOverride.Builder |
inferenceAcceleratorOverrides(Collection<InferenceAcceleratorOverride> inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
TaskOverride.Builder |
inferenceAcceleratorOverrides(Consumer<InferenceAcceleratorOverride.Builder>... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
TaskOverride.Builder |
inferenceAcceleratorOverrides(InferenceAcceleratorOverride... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
TaskOverride.Builder |
memory(String memory)
The memory override for the task.
|
TaskOverride.Builder |
taskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTaskOverride.Builder containerOverrides(Collection<ContainerOverride> containerOverrides)
One or more container overrides that are sent to a task.
containerOverrides - One or more container overrides that are sent to a task.TaskOverride.Builder containerOverrides(ContainerOverride... containerOverrides)
One or more container overrides that are sent to a task.
containerOverrides - One or more container overrides that are sent to a task.TaskOverride.Builder containerOverrides(Consumer<ContainerOverride.Builder>... containerOverrides)
One or more container overrides that are 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 cpu(String cpu)
The cpu override for the task.
cpu - The cpu override for the task.TaskOverride.Builder inferenceAcceleratorOverrides(Collection<InferenceAcceleratorOverride> inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
inferenceAcceleratorOverrides - The Elastic Inference accelerator override for the task.TaskOverride.Builder inferenceAcceleratorOverrides(InferenceAcceleratorOverride... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
inferenceAcceleratorOverrides - The Elastic Inference accelerator override for the task.TaskOverride.Builder inferenceAcceleratorOverrides(Consumer<InferenceAcceleratorOverride.Builder>... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the 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 #inferenceAcceleratorOverrides(List) .inferenceAcceleratorOverrides - a consumer that will call methods on List.Builder #inferenceAcceleratorOverrides(List) TaskOverride.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, see Amazon ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.
executionRoleArn - The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more
information, see Amazon
ECS task execution IAM role in the Amazon Elastic Container Service Developer Guide.TaskOverride.Builder memory(String memory)
The memory override for the task.
memory - The memory override for the 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. For more information, see IAM Role for Tasks in the Amazon Elastic Container Service Developer Guide.
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. For more information, see IAM Role for
Tasks in the Amazon Elastic Container Service Developer Guide.TaskOverride.Builder ephemeralStorage(EphemeralStorage ephemeralStorage)
The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate that use the following platform versions:
Linux platform version 1.4.0 or later.
Windows platform version 1.0.0 or later.
ephemeralStorage - The ephemeral storage setting override for the task. This parameter is only supported for tasks hosted on Fargate that use the following platform versions:
Linux platform version 1.4.0 or later.
Windows platform version 1.0.0 or later.
default TaskOverride.Builder ephemeralStorage(Consumer<EphemeralStorage.Builder> ephemeralStorage)
The ephemeral storage setting override for the task.
This parameter is only supported for tasks hosted on Fargate that use the following platform versions:
Linux platform version 1.4.0 or later.
Windows platform version 1.0.0 or later.
EphemeralStorage.Builder avoiding the
need to create one manually via EphemeralStorage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ephemeralStorage(EphemeralStorage).ephemeralStorage - a consumer that will call methods on EphemeralStorage.BuilderephemeralStorage(EphemeralStorage)Copyright © 2021. All rights reserved.