StructuredPojo
, ToCopyableBuilder<ContainerDetail.Builder,ContainerDetail>
@Generated("software.amazon.awssdk:codegen") public class ContainerDetail extends Object implements StructuredPojo, ToCopyableBuilder<ContainerDetail.Builder,ContainerDetail>
An object representing the details of a container that is part of a job.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ContainerDetail.Builder |
Modifier and Type | Method | 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.
|
int |
hashCode() |
|
String |
image() |
The image used to start the container.
|
String |
jobRoleArn() |
The Amazon Resource Name (ARN) associated with the job upon execution.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
memory() |
The number of MiB of memory reserved for the job.
|
List<MountPoint> |
mountPoints() |
The mount points for data volumes in your container.
|
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.
|
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
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.
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.
public List<KeyValuePair> environment()
The environment variables to pass to a container.
public List<MountPoint> mountPoints()
The mount points for data volumes in your container.
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.
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.
public ContainerDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ContainerDetail.Builder,ContainerDetail>
public static ContainerDetail.Builder builder()
public static Class<? extends ContainerDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.