Class ContainerResourceConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerinstances.model.ContainerResourceConfig.Builder
 
- 
- Enclosing class:
- ContainerResourceConfig
 
 public static class ContainerResourceConfig.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerResourceConfigbuild()ContainerResourceConfig.Buildercopy(ContainerResourceConfig model)ContainerResourceConfig.BuildermemoryLimitInGBs(Float memoryLimitInGBs)The maximum amount of memory that can be consumed by the container’s process.ContainerResourceConfig.BuildervcpusLimit(Float vcpusLimit)The maximum amount of CPUs that can be consumed by the container’s process.
 
- 
- 
- 
Method Detail- 
vcpusLimitpublic ContainerResourceConfig.Builder vcpusLimit(Float vcpusLimit) The maximum amount of CPUs that can be consumed by the container’s process.If you do not set a value, then the process may use all available CPU resources on the container instance. CPU usage is defined in terms of logical CPUs. This means that the maximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0. - Parameters:
- vcpusLimit- the value to set
- Returns:
- this builder
 
 - 
memoryLimitInGBspublic ContainerResourceConfig.Builder memoryLimitInGBs(Float memoryLimitInGBs) The maximum amount of memory that can be consumed by the container’s process.If you do not set a value, then the process may use all available memory on the instance. - Parameters:
- memoryLimitInGBs- the value to set
- Returns:
- this builder
 
 - 
buildpublic ContainerResourceConfig build() 
 - 
copypublic ContainerResourceConfig.Builder copy(ContainerResourceConfig model) 
 
- 
 
-