com.github.dockerjava.api.command.ConnectToNetworkCmd 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.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* Connects a container to a network.
*
* @since {@link RemoteApiVersion#VERSION_1_21}
*/
public interface ConnectToNetworkCmd extends SyncDockerCmd {
@CheckForNull
String getNetworkId();
@CheckForNull
String getContainerId();
ConnectToNetworkCmd withNetworkId(@Nonnull String networkId);
ConnectToNetworkCmd withContainerId(@Nonnull String containerId);
interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy