com.github.dockerjava.api.command.DisconnectFromNetworkCmd Maven / Gradle / Ivy
package com.github.dockerjava.api.command;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* Disconnects a container from a network.
*
* @since {@link RemoteApiVersion#VERSION_1_21}
*/
public interface DisconnectFromNetworkCmd extends SyncDockerCmd {
@CheckForNull
String getNetworkId();
@CheckForNull
String getContainerId();
@CheckForNull
Boolean getForce();
DisconnectFromNetworkCmd withNetworkId(@Nonnull String networkId);
DisconnectFromNetworkCmd withContainerId(@Nonnull String containerId);
DisconnectFromNetworkCmd withForce(@Nonnull Boolean force);
interface Exec extends DockerCmdSyncExec {
}
}