@Generated(value="software.amazon.awssdk:codegen") public final class Container extends Object implements StructuredPojo, ToCopyableBuilder<Container.Builder,Container>
A Docker container that is part of a task.
Modifier and Type | Class and Description |
---|---|
static interface |
Container.Builder |
Modifier and Type | Method and Description |
---|---|
static Container.Builder |
builder() |
String |
containerArn()
The Amazon Resource Name (ARN) of the container.
|
boolean |
equals(Object obj) |
Integer |
exitCode()
The exit code returned from the container.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastStatus()
The last known status of the container.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the container.
|
List<NetworkBinding> |
networkBindings()
The network bindings associated with the container.
|
List<NetworkInterface> |
networkInterfaces()
The network interfaces associated with the container.
|
String |
reason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
static Class<? extends Container.Builder> |
serializableBuilderClass() |
String |
taskArn()
The Amazon Resource Name (ARN) of the task.
|
Container.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 containerArn()
The Amazon Resource Name (ARN) of the container.
public String taskArn()
The Amazon Resource Name (ARN) of the task.
public String name()
The name of the container.
public String lastStatus()
The last known status of the container.
public Integer exitCode()
The exit code returned from the container.
public String reason()
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
public List<NetworkBinding> networkBindings()
The network bindings associated with the container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<NetworkInterface> networkInterfaces()
The network interfaces associated with the container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Container.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Container.Builder,Container>
public static Container.Builder builder()
public static Class<? extends Container.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.