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(Consumer<NetworkBinding.Builder>... 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 networkBindings(Consumer<NetworkBinding.Builder>... networkBindings)
Any network bindings associated with the container.
This is a convenience that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #networkBindings(List) .networkBindings - a consumer that will call methods on List.Builder #networkBindings(List) 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.