| Package | Description |
|---|---|
| com.amazonaws.services.batch.model |
| Modifier and Type | Method and Description |
|---|---|
TaskContainerDetails |
TaskContainerDetails.clone() |
TaskContainerDetails |
TaskContainerDetails.withCommand(Collection<String> command)
The command that's passed to the container.
|
TaskContainerDetails |
TaskContainerDetails.withCommand(String... command)
The command that's passed to the container.
|
TaskContainerDetails |
TaskContainerDetails.withDependsOn(Collection<TaskContainerDependency> dependsOn)
A list of containers that this container depends on.
|
TaskContainerDetails |
TaskContainerDetails.withDependsOn(TaskContainerDependency... dependsOn)
A list of containers that this container depends on.
|
TaskContainerDetails |
TaskContainerDetails.withEnvironment(Collection<KeyValuePair> environment)
The environment variables to pass to a container.
|
TaskContainerDetails |
TaskContainerDetails.withEnvironment(KeyValuePair... environment)
The environment variables to pass to a container.
|
TaskContainerDetails |
TaskContainerDetails.withEssential(Boolean essential)
If the essential parameter of a container is marked as
true, and that container fails or stops for
any reason, all other containers that are part of the task are stopped. |
TaskContainerDetails |
TaskContainerDetails.withExitCode(Integer exitCode)
The exit code returned upon completion.
|
TaskContainerDetails |
TaskContainerDetails.withImage(String image)
The image used to start a container.
|
TaskContainerDetails |
TaskContainerDetails.withLinuxParameters(LinuxParameters linuxParameters)
Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
TaskContainerDetails |
TaskContainerDetails.withLogConfiguration(LogConfiguration logConfiguration)
The log configuration specification for the container.
|
TaskContainerDetails |
TaskContainerDetails.withLogStreamName(String logStreamName)
The name of the CloudWatch Logs log stream that's associated with the container.
|
TaskContainerDetails |
TaskContainerDetails.withMountPoints(Collection<MountPoint> mountPoints)
The mount points for data volumes in your container.
|
TaskContainerDetails |
TaskContainerDetails.withMountPoints(MountPoint... mountPoints)
The mount points for data volumes in your container.
|
TaskContainerDetails |
TaskContainerDetails.withName(String name)
The name of a container.
|
TaskContainerDetails |
TaskContainerDetails.withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interfaces that are associated with the job.
|
TaskContainerDetails |
TaskContainerDetails.withNetworkInterfaces(NetworkInterface... networkInterfaces)
The network interfaces that are associated with the job.
|
TaskContainerDetails |
TaskContainerDetails.withPrivileged(Boolean privileged)
When this parameter is
true, the container is given elevated privileges on the host container
instance (similar to the root user). |
TaskContainerDetails |
TaskContainerDetails.withReadonlyRootFilesystem(Boolean readonlyRootFilesystem)
When this parameter is true, the container is given read-only access to its root file system.
|
TaskContainerDetails |
TaskContainerDetails.withReason(String reason)
A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.
|
TaskContainerDetails |
TaskContainerDetails.withRepositoryCredentials(RepositoryCredentials repositoryCredentials)
The private repository authentication credentials to use.
|
TaskContainerDetails |
TaskContainerDetails.withResourceRequirements(Collection<ResourceRequirement> resourceRequirements)
The type and amount of a resource to assign to a container.
|
TaskContainerDetails |
TaskContainerDetails.withResourceRequirements(ResourceRequirement... resourceRequirements)
The type and amount of a resource to assign to a container.
|
TaskContainerDetails |
TaskContainerDetails.withSecrets(Collection<Secret> secrets)
The secrets to pass to the container.
|
TaskContainerDetails |
TaskContainerDetails.withSecrets(Secret... secrets)
The secrets to pass to the container.
|
TaskContainerDetails |
TaskContainerDetails.withUlimits(Collection<Ulimit> ulimits)
A list of
ulimits to set in the container. |
TaskContainerDetails |
TaskContainerDetails.withUlimits(Ulimit... ulimits)
A list of
ulimits to set in the container. |
TaskContainerDetails |
TaskContainerDetails.withUser(String user)
The user to use inside the container.
|
| Modifier and Type | Method and Description |
|---|---|
List<TaskContainerDetails> |
EcsTaskDetails.getContainers()
A list of containers that are included in the
taskProperties list. |
| Modifier and Type | Method and Description |
|---|---|
EcsTaskDetails |
EcsTaskDetails.withContainers(TaskContainerDetails... containers)
A list of containers that are included in the
taskProperties list. |
| Modifier and Type | Method and Description |
|---|---|
void |
EcsTaskDetails.setContainers(Collection<TaskContainerDetails> containers)
A list of containers that are included in the
taskProperties list. |
EcsTaskDetails |
EcsTaskDetails.withContainers(Collection<TaskContainerDetails> containers)
A list of containers that are included in the
taskProperties list. |
Copyright © 2024. All rights reserved.