public static interface ContainerStateChange.Builder extends CopyableBuilder<ContainerStateChange.Builder,ContainerStateChange>
| Modifier and Type | Method and Description |
|---|---|
ContainerStateChange.Builder |
containerName(String containerName)
The name of the container.
|
ContainerStateChange.Builder |
exitCode(Integer exitCode)
The exit code for the container, if the state change is a result of the container exiting.
|
ContainerStateChange.Builder |
networkBindings(Collection<NetworkBinding> networkBindings)
Any network bindings associated with the container.
|
ContainerStateChange.Builder |
networkBindings(NetworkBinding... networkBindings)
Any network bindings associated with the container.
|
ContainerStateChange.Builder |
reason(String reason)
The reason for the state change.
|
ContainerStateChange.Builder |
status(String status)
The status of the container.
|
copyapply, buildContainerStateChange.Builder containerName(String containerName)
The name of the container.
containerName - The name of the container.ContainerStateChange.Builder exitCode(Integer exitCode)
The exit code for the container, if the state change is a result of the container exiting.
exitCode - The exit code for the container, if the state change is a result of the container exiting.ContainerStateChange.Builder networkBindings(Collection<NetworkBinding> networkBindings)
Any network bindings associated with the container.
networkBindings - Any network bindings associated with the container.ContainerStateChange.Builder networkBindings(NetworkBinding... networkBindings)
Any network bindings associated with the container.
networkBindings - Any network bindings associated with the container.ContainerStateChange.Builder reason(String reason)
The reason for the state change.
reason - The reason for the state change.ContainerStateChange.Builder status(String status)
The status of the container.
status - The status of the container.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.