@Generated(value="software.amazon.awssdk:codegen") public final class ContainerDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerDetail.Builder,ContainerDetail>
An object representing the details of a container that is part of a job.
Modifier and Type | Class and Description |
---|---|
static interface |
ContainerDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static ContainerDetail.Builder |
builder() |
List<String> |
command()
The command that is passed to the container.
|
String |
containerInstanceArn()
The Amazon Resource Name (ARN) of the container instance on which the container is running.
|
List<KeyValuePair> |
environment()
The environment variables to pass to a container.
|
boolean |
equals(Object obj) |
Integer |
exitCode()
The exit code to return upon completion.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
image()
The image used to start the container.
|
String |
instanceType()
The instance type of the underlying host infrastructure of a multi-node parallel job.
|
String |
jobRoleArn()
The Amazon Resource Name (ARN) associated with the job upon execution.
|
String |
logStreamName()
The name of the CloudWatch Logs log stream associated with the container.
|
Integer |
memory()
The number of MiB of memory reserved for the job.
|
List<MountPoint> |
mountPoints()
The mount points for data volumes in your container.
|
List<NetworkInterface> |
networkInterfaces()
The network interfaces associated with the job.
|
Boolean |
privileged()
When this parameter is true, the container is given elevated privileges on the host container instance (similar
to the
root user). |
Boolean |
readonlyRootFilesystem()
When this parameter is true, the container is given read-only access to its root file system.
|
String |
reason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContainerDetail.Builder> |
serializableBuilderClass() |
String |
taskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job.
|
ContainerDetail.Builder |
toBuilder() |
String |
toString() |
List<Ulimit> |
ulimits()
A list of
ulimit values to set in the container. |
String |
user()
The user name to use inside the container.
|
Integer |
vcpus()
The number of VCPUs allocated for the job.
|
List<Volume> |
volumes()
A list of volumes associated with the job.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String image()
The image used to start the container.
public Integer vcpus()
The number of VCPUs allocated for the job.
public Integer memory()
The number of MiB of memory reserved for the job.
public List<String> command()
The command that is passed to the container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String jobRoleArn()
The Amazon Resource Name (ARN) associated with the job upon execution.
public List<Volume> volumes()
A list of volumes associated with the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<KeyValuePair> environment()
The environment variables to pass to a container.
Environment variables must not start with AWS_BATCH
; this naming convention is reserved for
variables that are set by the AWS Batch service.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Environment variables must not start with AWS_BATCH
; this naming convention is reserved for
variables that are set by the AWS Batch service.
public List<MountPoint> mountPoints()
The mount points for data volumes in your container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean readonlyRootFilesystem()
When this parameter is true, the container is given read-only access to its root file system.
public List<Ulimit> ulimits()
A list of ulimit
values to set in the container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ulimit
values to set in the container.public Boolean privileged()
When this parameter is true, the container is given elevated privileges on the host container instance (similar
to the root
user).
root
user).public String user()
The user name to use inside the container.
public Integer exitCode()
The exit code to return upon completion.
public String reason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
public String containerInstanceArn()
The Amazon Resource Name (ARN) of the container instance on which the container is running.
public String taskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the container job. Each container
attempt receives a task ARN when they reach the STARTING
status.
STARTING
status.public String logStreamName()
The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is
/aws/batch/job
. Each container attempt receives a log stream name when they reach the
RUNNING
status.
/aws/batch/job
. Each container attempt receives a log stream name when they reach
the RUNNING
status.public String instanceType()
The instance type of the underlying host infrastructure of a multi-node parallel job.
public List<NetworkInterface> networkInterfaces()
The network interfaces associated with the job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ContainerDetail.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ContainerDetail.Builder,ContainerDetail>
public static ContainerDetail.Builder builder()
public static Class<? extends ContainerDetail.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.