
org.testifyproject.github.dockerjava.api.command.UpdateContainerCmd Maven / Gradle / Ivy
package org.testifyproject.testifyproject.github.dockerjava.api.org.testifyproject.testifyprojectmand;
import org.testifyproject.testifyproject.github.dockerjava.api.model.UpdateContainerResponse;
import org.testifyproject.testifyproject.github.dockerjava.core.RemoteApiVersion;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
/**
* @author Kanstantsin Shautsou
* @since {@link RemoteApiVersion#VERSION_1_22}
*/
public interface UpdateContainerCmd extends SyncDockerCmd {
@CheckForNull
String getContainerId();
@CheckForNull
Integer getBlkioWeight();
UpdateContainerCmd withBlkioWeight(Integer blkioWeight);
UpdateContainerCmd withContainerId(@Nonnull String containerId);
@CheckForNull
Integer getCpuPeriod();
UpdateContainerCmd withCpuPeriod(Integer cpuPeriod);
@CheckForNull
Integer getCpuQuota();
UpdateContainerCmd withCpuQuota(Integer cpuQuota);
@CheckForNull
String getCpusetCpus();
UpdateContainerCmd withCpusetCpus(String cpusetCpus);
@CheckForNull
String getCpusetMems();
UpdateContainerCmd withCpusetMems(String cpusetMems);
@CheckForNull
Integer getCpuShares();
UpdateContainerCmd withCpuShares(Integer cpuShares);
@CheckForNull
Long getKernelMemory();
UpdateContainerCmd withKernelMemory(Long kernelMemory);
@CheckForNull
Long getMemory();
UpdateContainerCmd withMemory(Long memory);
@CheckForNull
Long getMemoryReservation();
UpdateContainerCmd withMemoryReservation(Long memoryReservation);
@CheckForNull
Long getMemorySwap();
UpdateContainerCmd withMemorySwap(Long memorySwap);
interface Exec extends DockerCmdSyncExec {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy