@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksAttemptContainerDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.
Constructor and Description |
---|
EksAttemptContainerDetail() |
Modifier and Type | Method and Description |
---|---|
EksAttemptContainerDetail |
clone() |
boolean |
equals(Object obj) |
Integer |
getExitCode()
The exit code returned for the job attempt.
|
String |
getName()
The name of a container.
|
String |
getReason()
A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExitCode(Integer exitCode)
The exit code returned for the job attempt.
|
void |
setName(String name)
The name of a container.
|
void |
setReason(String reason)
A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.
|
String |
toString()
Returns a string representation of this object.
|
EksAttemptContainerDetail |
withExitCode(Integer exitCode)
The exit code returned for the job attempt.
|
EksAttemptContainerDetail |
withName(String name)
The name of a container.
|
EksAttemptContainerDetail |
withReason(String reason)
A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.
|
public void setName(String name)
The name of a container.
name
- The name of a container.public String getName()
The name of a container.
public EksAttemptContainerDetail withName(String name)
The name of a container.
name
- The name of a container.public void setExitCode(Integer exitCode)
The exit code returned for the job attempt. A non-zero exit code is considered failed.
exitCode
- The exit code returned for the job attempt. A non-zero exit code is considered failed.public Integer getExitCode()
The exit code returned for the job attempt. A non-zero exit code is considered failed.
public EksAttemptContainerDetail withExitCode(Integer exitCode)
The exit code returned for the job attempt. A non-zero exit code is considered failed.
exitCode
- The exit code returned for the job attempt. A non-zero exit code is considered failed.public void setReason(String reason)
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
reason
- A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.public String getReason()
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
public EksAttemptContainerDetail withReason(String reason)
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
reason
- A short (255 max characters) human-readable string to provide additional details for a running or stopped
container.public String toString()
toString
in class Object
Object.toString()
public EksAttemptContainerDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.