com.github.dockerjava.api.command.RemoveNetworkCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.exception.NotFoundException;
import com.github.dockerjava.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* Remove a network.
*
* @since {@link RemoteApiVersion#VERSION_1_21}
*/
public interface RemoveNetworkCmd extends SyncDockerCmd {
@CheckForNull
String getNetworkId();
RemoveNetworkCmd withNetworkId(@Nonnull String networkId);
/**
* @throws NotFoundException
* No such network
*/
@Override
Void exec() throws NotFoundException;
interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy