com.github.dockerjava.api.command.UpdateSwarmNodeCmd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.command;
import com.github.dockerjava.api.model.SwarmNodeSpec;
import com.github.dockerjava.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* Update swarmNode spec
*
* @since {@link RemoteApiVersion#VERSION_1_24}
*/
public interface UpdateSwarmNodeCmd extends SyncDockerCmd {
@CheckForNull
String getSwarmNodeId();
UpdateSwarmNodeCmd withSwarmNodeId(@Nonnull String swarmNodeId);
@CheckForNull
SwarmNodeSpec getSwarmNodeSpec();
UpdateSwarmNodeCmd withSwarmNodeSpec(SwarmNodeSpec swarmNodeSpec);
UpdateSwarmNodeCmd withVersion(@Nonnull Long versionId);
@CheckForNull
Long getVersion();
interface Exec extends DockerCmdSyncExec {
}
}