public class UpdateContainerCmdImpl extends AbstrDockerCmd<UpdateContainerCmd,UpdateContainerResponse> implements UpdateContainerCmd
RemoteApiVersion.VERSION_1_22
UpdateContainerCmd.Exec
execution
Constructor and Description |
---|
UpdateContainerCmdImpl() |
UpdateContainerCmdImpl(UpdateContainerCmd.Exec exec,
String containerId) |
close, registryAuth
public UpdateContainerCmdImpl()
public UpdateContainerCmdImpl(UpdateContainerCmd.Exec exec, String containerId)
@CheckForNull public Integer getBlkioWeight()
getBlkioWeight
in interface UpdateContainerCmd
blkioWeight
public UpdateContainerCmd withBlkioWeight(Integer blkioWeight)
withBlkioWeight
in interface UpdateContainerCmd
blkioWeight
@CheckForNull public String getContainerId()
getContainerId
in interface UpdateContainerCmd
containerId
public UpdateContainerCmd withContainerId(@Nonnull String containerId)
withContainerId
in interface UpdateContainerCmd
containerId
@CheckForNull public Integer getCpuPeriod()
getCpuPeriod
in interface UpdateContainerCmd
cpuPeriod
public UpdateContainerCmd withCpuPeriod(Integer cpuPeriod)
withCpuPeriod
in interface UpdateContainerCmd
cpuPeriod
@CheckForNull public Integer getCpuQuota()
getCpuQuota
in interface UpdateContainerCmd
cpuQuota
public UpdateContainerCmd withCpuQuota(Integer cpuQuota)
withCpuQuota
in interface UpdateContainerCmd
cpuQuota
@CheckForNull public String getCpusetCpus()
getCpusetCpus
in interface UpdateContainerCmd
cpusetCpus
public UpdateContainerCmd withCpusetCpus(String cpusetCpus)
withCpusetCpus
in interface UpdateContainerCmd
cpusetCpus
@CheckForNull public String getCpusetMems()
getCpusetMems
in interface UpdateContainerCmd
cpusetMems
public UpdateContainerCmd withCpusetMems(String cpusetMems)
withCpusetMems
in interface UpdateContainerCmd
cpusetMems
@CheckForNull public Integer getCpuShares()
getCpuShares
in interface UpdateContainerCmd
cpuShares
public UpdateContainerCmd withCpuShares(Integer cpuShares)
withCpuShares
in interface UpdateContainerCmd
cpuShares
@CheckForNull public Long getKernelMemory()
getKernelMemory
in interface UpdateContainerCmd
kernelMemory
public UpdateContainerCmd withKernelMemory(Long kernelMemory)
withKernelMemory
in interface UpdateContainerCmd
kernelMemory
@CheckForNull public Long getMemory()
getMemory
in interface UpdateContainerCmd
memory
public UpdateContainerCmd withMemory(Long memory)
withMemory
in interface UpdateContainerCmd
memory
@CheckForNull public Long getMemoryReservation()
getMemoryReservation
in interface UpdateContainerCmd
memoryReservation
public UpdateContainerCmd withMemoryReservation(Long memoryReservation)
withMemoryReservation
in interface UpdateContainerCmd
memoryReservation
@CheckForNull public Long getMemorySwap()
getMemorySwap
in interface UpdateContainerCmd
memorySwap
public UpdateContainerCmd withMemorySwap(Long memorySwap)
withMemorySwap
in interface UpdateContainerCmd
memorySwap
public UpdateContainerResponse exec() throws NotFoundException
exec
in interface SyncDockerCmd<UpdateContainerResponse>
exec
in class AbstrDockerCmd<UpdateContainerCmd,UpdateContainerResponse>
NotFoundException
- No such containerpublic String toString()
toString
in class AbstrDockerCmd<UpdateContainerCmd,UpdateContainerResponse>
Copyright © 2017. All Rights Reserved.