@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttemptContainerDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the details of a container that is part of a job attempt.
Constructor and Description |
---|
AttemptContainerDetail() |
Modifier and Type | Method and Description |
---|---|
AttemptContainerDetail |
clone() |
boolean |
equals(Object obj) |
String |
getContainerInstanceArn()
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
|
Integer |
getExitCode()
The exit code for the job attempt.
|
String |
getReason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
|
void |
setExitCode(Integer exitCode)
The exit code for the job attempt.
|
void |
setReason(String reason)
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttemptContainerDetail |
withContainerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
|
AttemptContainerDetail |
withExitCode(Integer exitCode)
The exit code for the job attempt.
|
AttemptContainerDetail |
withReason(String reason)
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
AttemptContainerDetail |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
|
public void setContainerInstanceArn(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.public String getContainerInstanceArn()
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
public AttemptContainerDetail withContainerInstanceArn(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.public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
taskArn
- The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.public String getTaskArn()
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
public AttemptContainerDetail withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.
taskArn
- The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.public void setExitCode(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.public Integer getExitCode()
The exit code for the job attempt. A non-zero exit code is considered a failure.
public AttemptContainerDetail withExitCode(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.public void setReason(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.public String getReason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
public AttemptContainerDetail withReason(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.public String toString()
toString
in class Object
Object.toString()
public AttemptContainerDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.