public static interface BatchContainerOverrides.Builder extends SdkPojo, CopyableBuilder<BatchContainerOverrides.Builder,BatchContainerOverrides>
| Modifier and Type | Method and Description |
|---|---|
BatchContainerOverrides.Builder |
command(Collection<String> command)
The command to send to the container that overrides the default command from the Docker image or the task
definition.
|
BatchContainerOverrides.Builder |
command(String... command)
The command to send to the container that overrides the default command from the Docker image or the task
definition.
|
BatchContainerOverrides.Builder |
environment(BatchEnvironmentVariable... environment)
The environment variables to send to the container.
|
BatchContainerOverrides.Builder |
environment(Collection<BatchEnvironmentVariable> environment)
The environment variables to send to the container.
|
BatchContainerOverrides.Builder |
environment(Consumer<BatchEnvironmentVariable.Builder>... environment)
The environment variables to send to the container.
|
BatchContainerOverrides.Builder |
instanceType(String instanceType)
The instance type to use for a multi-node parallel job.
|
BatchContainerOverrides.Builder |
resourceRequirements(BatchResourceRequirement... resourceRequirements)
The type and amount of resources to assign to a container.
|
BatchContainerOverrides.Builder |
resourceRequirements(Collection<BatchResourceRequirement> resourceRequirements)
The type and amount of resources to assign to a container.
|
BatchContainerOverrides.Builder |
resourceRequirements(Consumer<BatchResourceRequirement.Builder>... resourceRequirements)
The type and amount of resources to assign to a container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchContainerOverrides.Builder command(Collection<String> command)
The command to send to the container that overrides the default command from the Docker image or the task definition.
command - The command to send to the container that overrides the default command from the Docker image or the
task definition.BatchContainerOverrides.Builder command(String... command)
The command to send to the container that overrides the default command from the Docker image or the task definition.
command - The command to send to the container that overrides the default command from the Docker image or the
task definition.BatchContainerOverrides.Builder environment(Collection<BatchEnvironmentVariable> environment)
The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for
variables that Batch sets.
environment - The environment variables to send to the container. You can add new environment variables, which are
added to the container at launch, or you can override the existing environment variables from the
Docker image or the task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for
variables that Batch sets.
BatchContainerOverrides.Builder environment(BatchEnvironmentVariable... environment)
The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for
variables that Batch sets.
environment - The environment variables to send to the container. You can add new environment variables, which are
added to the container at launch, or you can override the existing environment variables from the
Docker image or the task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for
variables that Batch sets.
BatchContainerOverrides.Builder environment(Consumer<BatchEnvironmentVariable.Builder>... environment)
The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for
variables that Batch sets.
BatchEnvironmentVariable.Builder avoiding the need to
create one manually via
BatchEnvironmentVariable.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #environment(List.
environment - a consumer that will call methods on
BatchEnvironmentVariable.Builder#environment(java.util.Collection) BatchContainerOverrides.Builder instanceType(String instanceType)
The instance type to use for a multi-node parallel job.
This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
instanceType - The instance type to use for a multi-node parallel job. This parameter isn't applicable to single-node container jobs or jobs that run on Fargate resources, and shouldn't be provided.
BatchContainerOverrides.Builder resourceRequirements(Collection<BatchResourceRequirement> resourceRequirements)
The type and amount of resources to assign to a container. This overrides the settings in the job definition.
The supported resources include GPU, MEMORY, and VCPU.
resourceRequirements - The type and amount of resources to assign to a container. This overrides the settings in the job
definition. The supported resources include GPU, MEMORY, and
VCPU.BatchContainerOverrides.Builder resourceRequirements(BatchResourceRequirement... resourceRequirements)
The type and amount of resources to assign to a container. This overrides the settings in the job definition.
The supported resources include GPU, MEMORY, and VCPU.
resourceRequirements - The type and amount of resources to assign to a container. This overrides the settings in the job
definition. The supported resources include GPU, MEMORY, and
VCPU.BatchContainerOverrides.Builder resourceRequirements(Consumer<BatchResourceRequirement.Builder>... resourceRequirements)
The type and amount of resources to assign to a container. This overrides the settings in the job definition.
The supported resources include GPU, MEMORY, and VCPU.
BatchResourceRequirement.Builder avoiding the need to
create one manually via
BatchResourceRequirement.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #resourceRequirements(List.
resourceRequirements - a consumer that will call methods on
BatchResourceRequirement.Builder#resourceRequirements(java.util.Collection) Copyright © 2023. All rights reserved.