public static interface ContainerStateChange.Builder extends SdkPojo, 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 |
imageDigest(String imageDigest)
The container image SHA 256 digest.
|
ContainerStateChange.Builder |
networkBindings(Collection<NetworkBinding> networkBindings)
Any network bindings that are associated with the container.
|
ContainerStateChange.Builder |
networkBindings(Consumer<NetworkBinding.Builder>... networkBindings)
Any network bindings that are associated with the container.
|
ContainerStateChange.Builder |
networkBindings(NetworkBinding... networkBindings)
Any network bindings that are associated with the container.
|
ContainerStateChange.Builder |
reason(String reason)
The reason for the state change.
|
ContainerStateChange.Builder |
runtimeId(String runtimeId)
The ID of the Docker container.
|
ContainerStateChange.Builder |
status(String status)
The status of the container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerStateChange.Builder containerName(String containerName)
The name of the container.
containerName - The name of the container.ContainerStateChange.Builder imageDigest(String imageDigest)
The container image SHA 256 digest.
imageDigest - The container image SHA 256 digest.ContainerStateChange.Builder runtimeId(String runtimeId)
The ID of the Docker container.
runtimeId - The ID of the Docker 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 that are associated with the container.
networkBindings - Any network bindings that are associated with the container.ContainerStateChange.Builder networkBindings(NetworkBinding... networkBindings)
Any network bindings that are associated with the container.
networkBindings - Any network bindings that are associated with the container.ContainerStateChange.Builder networkBindings(Consumer<NetworkBinding.Builder>... networkBindings)
Any network bindings that are associated with the container.
This is a convenience method that creates an instance of theNetworkBinding.Builder avoiding the need to create one
manually via NetworkBinding.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #networkBindings(List.
networkBindings - a consumer that will call methods on
NetworkBinding.Builder#networkBindings(java.util.Collection) 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 © 2023. All rights reserved.