public class UpdateContainerCmdImpl extends AbstrDockerCmd<UpdateContainerCmd,UpdateContainerResponse> implements UpdateContainerCmd
RemoteApiVersion.VERSION_1_22
UpdateContainerCmd.Exec
execution
Constructor and Description |
---|
UpdateContainerCmdImpl(UpdateContainerCmd.Exec exec,
java.lang.String containerId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
UpdateContainerResponse |
exec() |
java.lang.Integer |
getBlkioWeight() |
java.lang.String |
getContainerId() |
java.lang.Integer |
getCpuPeriod() |
java.lang.Integer |
getCpuQuota() |
java.lang.String |
getCpusetCpus() |
java.lang.String |
getCpusetMems() |
java.lang.Integer |
getCpuShares() |
java.lang.Long |
getKernelMemory() |
java.lang.Long |
getMemory() |
java.lang.Long |
getMemoryReservation() |
java.lang.Long |
getMemorySwap() |
int |
hashCode() |
java.lang.String |
toString() |
UpdateContainerCmd |
withBlkioWeight(java.lang.Integer blkioWeight) |
UpdateContainerCmd |
withContainerId(java.lang.String containerId) |
UpdateContainerCmd |
withCpuPeriod(java.lang.Integer cpuPeriod) |
UpdateContainerCmd |
withCpuQuota(java.lang.Integer cpuQuota) |
UpdateContainerCmd |
withCpusetCpus(java.lang.String cpusetCpus) |
UpdateContainerCmd |
withCpusetMems(java.lang.String cpusetMems) |
UpdateContainerCmd |
withCpuShares(java.lang.Integer cpuShares) |
UpdateContainerCmd |
withKernelMemory(java.lang.Long kernelMemory) |
UpdateContainerCmd |
withMemory(java.lang.Long memory) |
UpdateContainerCmd |
withMemoryReservation(java.lang.Long memoryReservation) |
UpdateContainerCmd |
withMemorySwap(java.lang.Long memorySwap) |
close, registryAuth
public UpdateContainerCmdImpl(UpdateContainerCmd.Exec exec, java.lang.String containerId)
@CheckForNull public java.lang.Integer getBlkioWeight()
getBlkioWeight
in interface UpdateContainerCmd
blkioWeight
public UpdateContainerCmd withBlkioWeight(java.lang.Integer blkioWeight)
withBlkioWeight
in interface UpdateContainerCmd
blkioWeight
@CheckForNull public java.lang.String getContainerId()
getContainerId
in interface UpdateContainerCmd
containerId
public UpdateContainerCmd withContainerId(@Nonnull java.lang.String containerId)
withContainerId
in interface UpdateContainerCmd
containerId
@CheckForNull public java.lang.Integer getCpuPeriod()
getCpuPeriod
in interface UpdateContainerCmd
cpuPeriod
public UpdateContainerCmd withCpuPeriod(java.lang.Integer cpuPeriod)
withCpuPeriod
in interface UpdateContainerCmd
cpuPeriod
@CheckForNull public java.lang.Integer getCpuQuota()
getCpuQuota
in interface UpdateContainerCmd
cpuQuota
public UpdateContainerCmd withCpuQuota(java.lang.Integer cpuQuota)
withCpuQuota
in interface UpdateContainerCmd
cpuQuota
@CheckForNull public java.lang.String getCpusetCpus()
getCpusetCpus
in interface UpdateContainerCmd
cpusetCpus
public UpdateContainerCmd withCpusetCpus(java.lang.String cpusetCpus)
withCpusetCpus
in interface UpdateContainerCmd
cpusetCpus
@CheckForNull public java.lang.String getCpusetMems()
getCpusetMems
in interface UpdateContainerCmd
cpusetMems
public UpdateContainerCmd withCpusetMems(java.lang.String cpusetMems)
withCpusetMems
in interface UpdateContainerCmd
cpusetMems
@CheckForNull public java.lang.Integer getCpuShares()
getCpuShares
in interface UpdateContainerCmd
cpuShares
public UpdateContainerCmd withCpuShares(java.lang.Integer cpuShares)
withCpuShares
in interface UpdateContainerCmd
cpuShares
@CheckForNull public java.lang.Long getKernelMemory()
getKernelMemory
in interface UpdateContainerCmd
kernelMemory
public UpdateContainerCmd withKernelMemory(java.lang.Long kernelMemory)
withKernelMemory
in interface UpdateContainerCmd
kernelMemory
@CheckForNull public java.lang.Long getMemory()
getMemory
in interface UpdateContainerCmd
memory
public UpdateContainerCmd withMemory(java.lang.Long memory)
withMemory
in interface UpdateContainerCmd
memory
@CheckForNull public java.lang.Long getMemoryReservation()
getMemoryReservation
in interface UpdateContainerCmd
memoryReservation
public UpdateContainerCmd withMemoryReservation(java.lang.Long memoryReservation)
withMemoryReservation
in interface UpdateContainerCmd
memoryReservation
@CheckForNull public java.lang.Long getMemorySwap()
getMemorySwap
in interface UpdateContainerCmd
memorySwap
public UpdateContainerCmd withMemorySwap(java.lang.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 java.lang.String toString()
toString
in class AbstrDockerCmd<UpdateContainerCmd,UpdateContainerResponse>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018. All Rights Reserved.