public static interface AttemptContainerDetail.Builder extends CopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
Modifier and Type | Method and Description |
---|---|
AttemptContainerDetail.Builder |
containerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
|
AttemptContainerDetail.Builder |
exitCode(Integer exitCode)
The exit code for the job attempt.
|
AttemptContainerDetail.Builder |
logStreamName(String logStreamName)
The name of the CloudWatch Logs log stream associated with the container.
|
AttemptContainerDetail.Builder |
reason(String reason)
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
AttemptContainerDetail.Builder |
taskArn(String taskArn)
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
|
copy
apply, build
AttemptContainerDetail.Builder containerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
containerInstanceArn
- The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.AttemptContainerDetail.Builder taskArn(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.
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.AttemptContainerDetail.Builder exitCode(Integer exitCode)
The exit code for the job attempt. A non-zero exit code is considered a failure.
exitCode
- The exit code for the job attempt. A non-zero exit code is considered a failure.AttemptContainerDetail.Builder reason(String reason)
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
reason
- A short (255 max characters) human-readable string to provide additional details about a running or
stopped container.AttemptContainerDetail.Builder logStreamName(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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.