StructuredPojo
, ToCopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
@Generated("software.amazon.awssdk:codegen") public class AttemptContainerDetail extends Object implements StructuredPojo, ToCopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
An object representing the details of a container that is part of a job attempt.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AttemptContainerDetail.Builder |
Modifier and Type | Method | 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.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
reason() |
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
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() |
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.
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 AttemptContainerDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AttemptContainerDetail.Builder,AttemptContainerDetail>
public static AttemptContainerDetail.Builder builder()
public static Class<? extends AttemptContainerDetail.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.