public static interface EksContainerOverride.Builder extends SdkPojo, CopyableBuilder<EksContainerOverride.Builder,EksContainerOverride>
| Modifier and Type | Method and Description |
|---|---|
EksContainerOverride.Builder |
args(Collection<String> args)
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker
image or the job definition.
|
EksContainerOverride.Builder |
args(String... args)
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker
image or the job definition.
|
EksContainerOverride.Builder |
command(Collection<String> command)
The command to send to the container that overrides the default command from the Docker image or the job
definition.
|
EksContainerOverride.Builder |
command(String... command)
The command to send to the container that overrides the default command from the Docker image or the job
definition.
|
EksContainerOverride.Builder |
env(Collection<EksContainerEnvironmentVariable> env)
The environment variables to send to the container.
|
EksContainerOverride.Builder |
env(Consumer<EksContainerEnvironmentVariable.Builder>... env)
The environment variables to send to the container.
|
EksContainerOverride.Builder |
env(EksContainerEnvironmentVariable... env)
The environment variables to send to the container.
|
EksContainerOverride.Builder |
image(String image)
The override of the Docker image that's used to start the container.
|
default EksContainerOverride.Builder |
resources(Consumer<EksContainerResourceRequirements.Builder> resources)
The type and amount of resources to assign to a container.
|
EksContainerOverride.Builder |
resources(EksContainerResourceRequirements resources)
The type and amount of resources to assign to a container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEksContainerOverride.Builder image(String image)
The override of the Docker image that's used to start the container.
image - The override of the Docker image that's used to start the container.EksContainerOverride.Builder command(Collection<String> command)
The command to send to the container that overrides the default command from the Docker image or the job definition.
command - The command to send to the container that overrides the default command from the Docker image or the
job definition.EksContainerOverride.Builder command(String... command)
The command to send to the container that overrides the default command from the Docker image or the job definition.
command - The command to send to the container that overrides the default command from the Docker image or the
job definition.EksContainerOverride.Builder args(Collection<String> args)
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see CMD in the Dockerfile reference and Define a command an arguments for a pod in the Kubernetes documentation.
args - The arguments to the entrypoint to send to the container that overrides the default arguments from the
Docker image or the job definition. For more information, see CMD in the Dockerfile
reference and Define a command an arguments for a pod in the Kubernetes documentation.EksContainerOverride.Builder args(String... args)
The arguments to the entrypoint to send to the container that overrides the default arguments from the Docker image or the job definition. For more information, see CMD in the Dockerfile reference and Define a command an arguments for a pod in the Kubernetes documentation.
args - The arguments to the entrypoint to send to the container that overrides the default arguments from the
Docker image or the job definition. For more information, see CMD in the Dockerfile
reference and Define a command an arguments for a pod in the Kubernetes documentation.EksContainerOverride.Builder env(Collection<EksContainerEnvironmentVariable> env)
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 job definition.
Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for
variables that Batch sets.
env - 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 job definition.
Environment variables cannot start with "AWS_BATCH". This naming convention is reserved
for variables that Batch sets.
EksContainerOverride.Builder env(EksContainerEnvironmentVariable... env)
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 job definition.
Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for
variables that Batch sets.
env - 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 job definition.
Environment variables cannot start with "AWS_BATCH". This naming convention is reserved
for variables that Batch sets.
EksContainerOverride.Builder env(Consumer<EksContainerEnvironmentVariable.Builder>... env)
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 job definition.
Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for
variables that Batch sets.
EksContainerEnvironmentVariable.Builder avoiding the need
to create one manually via
EksContainerEnvironmentVariable.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #env(List.
env - a consumer that will call methods on
EksContainerEnvironmentVariable.Builder#env(java.util.Collection) EksContainerOverride.Builder resources(EksContainerResourceRequirements resources)
The type and amount of resources to assign to a container. These override the settings in the job definition.
The supported resources include memory, cpu, and nvidia.com/gpu. For
more information, see Resource management for
pods and containers in the Kubernetes documentation.
resources - The type and amount of resources to assign to a container. These override the settings in the job
definition. The supported resources include memory, cpu, and
nvidia.com/gpu. For more information, see Resource
management for pods and containers in the Kubernetes documentation.default EksContainerOverride.Builder resources(Consumer<EksContainerResourceRequirements.Builder> resources)
The type and amount of resources to assign to a container. These override the settings in the job definition.
The supported resources include memory, cpu, and nvidia.com/gpu. For
more information, see Resource management for
pods and containers in the Kubernetes documentation.
EksContainerResourceRequirements.Builder
avoiding the need to create one manually via EksContainerResourceRequirements.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to resources(EksContainerResourceRequirements).
resources - a consumer that will call methods on EksContainerResourceRequirements.Builderresources(EksContainerResourceRequirements)Copyright © 2023. All rights reserved.