public class RemoveSwarmNodeCmdImpl extends AbstrDockerCmd<RemoveSwarmNodeCmd,java.lang.Void> implements RemoveSwarmNodeCmd
RemoveSwarmNodeCmd.Execexecution| Constructor and Description |
|---|
RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec,
java.lang.String containerId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Void |
exec() |
java.lang.String |
getSwarmNodeId() |
java.lang.Boolean |
hasForceEnabled() |
RemoveSwarmNodeCmd |
withContainerId(java.lang.String swarmNodeId) |
RemoveSwarmNodeCmd |
withForce(java.lang.Boolean force) |
close, registryAuth, toStringpublic RemoveSwarmNodeCmdImpl(RemoveSwarmNodeCmd.Exec exec, java.lang.String containerId)
@CheckForNull public java.lang.String getSwarmNodeId()
getSwarmNodeId in interface RemoveSwarmNodeCmd@CheckForNull public java.lang.Boolean hasForceEnabled()
hasForceEnabled in interface RemoveSwarmNodeCmdpublic RemoveSwarmNodeCmd withContainerId(@Nonnull java.lang.String swarmNodeId)
withContainerId in interface RemoveSwarmNodeCmdpublic RemoveSwarmNodeCmd withForce(java.lang.Boolean force)
withForce in interface RemoveSwarmNodeCmdpublic java.lang.Void exec()
throws NotFoundException
exec in interface RemoveSwarmNodeCmdexec in interface SyncDockerCmd<java.lang.Void>exec in class AbstrDockerCmd<RemoveSwarmNodeCmd,java.lang.Void>NotFoundException - No such swarmNodeCopyright © 2020. All Rights Reserved.