@Generated(value="software.amazon.awssdk:codegen") public final class ContainerStateChange extends Object implements SdkPojo, Serializable, 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() |
List<NetworkBinding> |
networkBindings()
Any network bindings associated with the container.
|
String |
reason()
The reason for the state change.
|
List<SdkField<?>> |
sdkFields() |
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.