@Generated(value="software.amazon.awssdk:codegen") public class ContainerStateChange extends Object implements StructuredPojo, ToCopyableBuilder<ContainerStateChange.Builder,ContainerStateChange>
An object representing a change in state for a container.
Modifier and Type | Class and Description |
---|---|
static interface |
ContainerStateChange.Builder |
Modifier and Type | Method and Description |
---|---|
static ContainerStateChange.Builder |
builder() |
String |
containerName()
The name of the container.
|
boolean |
equals(Object obj) |
Integer |
exitCode()
The exit code for the container, if the state change is a result of the container exiting.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<NetworkBinding> |
networkBindings()
Any network bindings associated with the container.
|
String |
reason()
The reason for the state change.
|
static Class<? extends ContainerStateChange.Builder> |
serializableBuilderClass() |
String |
status()
The status of the container.
|
ContainerStateChange.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 containerName()
The name of the container.
public Integer exitCode()
The exit code for the container, if the state change is a result of the container exiting.
public List<NetworkBinding> networkBindings()
Any network bindings associated with the container.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String reason()
The reason for the state change.
public String status()
The status of the container.
public ContainerStateChange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ContainerStateChange.Builder,ContainerStateChange>
public static ContainerStateChange.Builder builder()
public static Class<? extends ContainerStateChange.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.