public static interface EcsTaskOverride.Builder extends SdkPojo, CopyableBuilder<EcsTaskOverride.Builder,EcsTaskOverride>
| Modifier and Type | Method and Description |
|---|---|
EcsTaskOverride.Builder |
containerOverrides(Collection<EcsContainerOverride> containerOverrides)
One or more container overrides that are sent to a task.
|
EcsTaskOverride.Builder |
containerOverrides(Consumer<EcsContainerOverride.Builder>... containerOverrides)
One or more container overrides that are sent to a task.
|
EcsTaskOverride.Builder |
containerOverrides(EcsContainerOverride... containerOverrides)
One or more container overrides that are sent to a task.
|
EcsTaskOverride.Builder |
cpu(String cpu)
The cpu override for the task.
|
default EcsTaskOverride.Builder |
ephemeralStorage(Consumer<EcsEphemeralStorage.Builder> ephemeralStorage)
The ephemeral storage setting override for the task.
|
EcsTaskOverride.Builder |
ephemeralStorage(EcsEphemeralStorage ephemeralStorage)
The ephemeral storage setting override for the task.
|
EcsTaskOverride.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the task execution IAM role override for the task.
|
EcsTaskOverride.Builder |
inferenceAcceleratorOverrides(Collection<EcsInferenceAcceleratorOverride> inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
EcsTaskOverride.Builder |
inferenceAcceleratorOverrides(Consumer<EcsInferenceAcceleratorOverride.Builder>... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
EcsTaskOverride.Builder |
inferenceAcceleratorOverrides(EcsInferenceAcceleratorOverride... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
|
EcsTaskOverride.Builder |
memory(String memory)
The memory override for the task.
|
EcsTaskOverride.Builder |
taskRoleArn(String taskRoleArn)
The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEcsTaskOverride.Builder containerOverrides(Collection<EcsContainerOverride> containerOverrides)
One or more container overrides that are sent to a task.
containerOverrides - One or more container overrides that are sent to a task.EcsTaskOverride.Builder containerOverrides(EcsContainerOverride... containerOverrides)
One or more container overrides that are sent to a task.
containerOverrides - One or more container overrides that are sent to a task.EcsTaskOverride.Builder containerOverrides(Consumer<EcsContainerOverride.Builder>... containerOverrides)
One or more container overrides that are sent to a task.
This is a convenience method that creates an instance of theEcsContainerOverride.Builder avoiding the need to create
one manually via EcsContainerOverride.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #containerOverrides(List.
containerOverrides - a consumer that will call methods on
EcsContainerOverride.Builder#containerOverrides(java.util.Collection) EcsTaskOverride.Builder cpu(String cpu)
The cpu override for the task.
cpu - The cpu override for the task.EcsTaskOverride.Builder ephemeralStorage(EcsEphemeralStorage 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 EcsTaskOverride.Builder ephemeralStorage(Consumer<EcsEphemeralStorage.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.
EcsEphemeralStorage.Builder
avoiding the need to create one manually via EcsEphemeralStorage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to ephemeralStorage(EcsEphemeralStorage).
ephemeralStorage - a consumer that will call methods on EcsEphemeralStorage.BuilderephemeralStorage(EcsEphemeralStorage)EcsTaskOverride.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.EcsTaskOverride.Builder inferenceAcceleratorOverrides(Collection<EcsInferenceAcceleratorOverride> inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
inferenceAcceleratorOverrides - The Elastic Inference accelerator override for the task.EcsTaskOverride.Builder inferenceAcceleratorOverrides(EcsInferenceAcceleratorOverride... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
inferenceAcceleratorOverrides - The Elastic Inference accelerator override for the task.EcsTaskOverride.Builder inferenceAcceleratorOverrides(Consumer<EcsInferenceAcceleratorOverride.Builder>... inferenceAcceleratorOverrides)
The Elastic Inference accelerator override for the task.
This is a convenience method that creates an instance of theEcsInferenceAcceleratorOverride.Builder avoiding the need
to create one manually via
EcsInferenceAcceleratorOverride.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #inferenceAcceleratorOverrides(List.
inferenceAcceleratorOverrides - a consumer that will call methods on
EcsInferenceAcceleratorOverride.Builder#inferenceAcceleratorOverrides(java.util.Collection) EcsTaskOverride.Builder memory(String memory)
The memory override for the task.
memory - The memory override for the task.EcsTaskOverride.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.Copyright © 2023. All rights reserved.