All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.command.UpdateContainerCmd Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.github.dockerjava.api.command;

import com.github.dockerjava.api.model.UpdateContainerResponse;

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 - 2024 Weber Informatics LLC | Privacy Policy