public interface RestartContainerCmd extends SyncDockerCmd<Void>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RestartContainerCmd.Exec |
| Modifier and Type | Method and Description |
|---|---|
Void |
exec() |
String |
getContainerId() |
Integer |
getTimeout() |
RestartContainerCmd |
withContainerId(String containerId) |
RestartContainerCmd |
withTimeout(Integer timeout) |
default RestartContainerCmd |
withtTimeout(Integer timeout)
Deprecated.
wrong name, use
withTimeout(Integer) |
@CheckForNull String getContainerId()
@CheckForNull Integer getTimeout()
RestartContainerCmd withContainerId(@Nonnull String containerId)
@Deprecated default RestartContainerCmd withtTimeout(Integer timeout)
withTimeout(Integer)RestartContainerCmd withTimeout(Integer timeout)
Void exec() throws NotFoundException
exec in interface SyncDockerCmd<Void>NotFoundException - No such containerCopyright © 2022. All rights reserved.