@Stability(value=Stable) public static final class ContainerOverride.Builder extends Object implements software.amazon.jsii.Builder<ContainerOverride>
ContainerOverride| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ContainerOverride |
build()
Builds the configured instance.
|
ContainerOverride.Builder |
command(List<String> command)
Sets the value of
ContainerOverride.getCommand() |
ContainerOverride.Builder |
containerName(String containerName)
Sets the value of
ContainerOverride.getContainerName() |
ContainerOverride.Builder |
cpu(Number cpu)
Sets the value of
ContainerOverride.getCpu() |
ContainerOverride.Builder |
environment(List<? extends TaskEnvironmentVariable> environment)
Sets the value of
ContainerOverride.getEnvironment() |
ContainerOverride.Builder |
memoryLimit(Number memoryLimit)
Sets the value of
ContainerOverride.getMemoryLimit() |
ContainerOverride.Builder |
memoryReservation(Number memoryReservation)
Sets the value of
ContainerOverride.getMemoryReservation() |
@Stability(value=Stable) public ContainerOverride.Builder containerName(String containerName)
ContainerOverride.getContainerName()containerName - Name of the container inside the task definition. This parameter is required.this@Stability(value=Stable) public ContainerOverride.Builder command(List<String> command)
ContainerOverride.getCommand()command - Command to run inside the container.this@Stability(value=Stable) public ContainerOverride.Builder cpu(Number cpu)
ContainerOverride.getCpu()cpu - The number of cpu units reserved for the container.this@Stability(value=Stable) public ContainerOverride.Builder environment(List<? extends TaskEnvironmentVariable> environment)
ContainerOverride.getEnvironment()environment - Variables to set in the container's environment.this@Stability(value=Stable) public ContainerOverride.Builder memoryLimit(Number memoryLimit)
ContainerOverride.getMemoryLimit()memoryLimit - Hard memory limit on the container.this@Stability(value=Stable) public ContainerOverride.Builder memoryReservation(Number memoryReservation)
ContainerOverride.getMemoryReservation()memoryReservation - Soft memory limit on the container.this@Stability(value=Stable) public ContainerOverride build()
build in interface software.amazon.jsii.Builder<ContainerOverride>ContainerOverrideNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.