@Generated(value="software.amazon.awssdk:codegen") public final class AttemptContainerDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
An object representing the details of a container that is part of a job attempt.
Modifier and Type | Class and Description |
---|---|
static interface |
AttemptContainerDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static AttemptContainerDetail.Builder |
builder() |
String |
containerInstanceArn()
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
|
boolean |
equals(Object obj) |
Integer |
exitCode()
The exit code for the job attempt.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logStreamName()
The name of the CloudWatch Logs log stream associated with the container.
|
List<NetworkInterface> |
networkInterfaces()
The network interfaces associated with the job attempt.
|
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 AttemptContainerDetail.Builder> |
serializableBuilderClass() |
String |
taskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
|
AttemptContainerDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String containerInstanceArn()
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
public String taskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt. Each container
attempt receives a task ARN when they reach the STARTING
status.
STARTING
status.public Integer exitCode()
The exit code for the job attempt. A non-zero exit code is considered a failure.
public String reason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
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 List<NetworkInterface> networkInterfaces()
The network interfaces associated with the job attempt.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AttemptContainerDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
public static AttemptContainerDetail.Builder builder()
public static Class<? extends AttemptContainerDetail.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.