Class ContainerInstanceShapeConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.containerinstances.model.ContainerInstanceShapeConfig.Builder
-
- Enclosing class:
- ContainerInstanceShapeConfig
public static class ContainerInstanceShapeConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerInstanceShapeConfigbuild()ContainerInstanceShapeConfig.Buildercopy(ContainerInstanceShapeConfig model)ContainerInstanceShapeConfig.BuildermemoryInGBs(Float memoryInGBs)The total amount of memory available to the container instance, in gigabytes.ContainerInstanceShapeConfig.BuildernetworkingBandwidthInGbps(Float networkingBandwidthInGbps)The networking bandwidth available to the container instance, in gigabits per second.ContainerInstanceShapeConfig.Builderocpus(Float ocpus)The total number of OCPUs available to the container instance.ContainerInstanceShapeConfig.BuilderprocessorDescription(String processorDescription)A short description of the container instance’s processor (CPU).
-
-
-
Method Detail
-
ocpus
public ContainerInstanceShapeConfig.Builder ocpus(Float ocpus)
The total number of OCPUs available to the container instance.- Parameters:
ocpus- the value to set- Returns:
- this builder
-
memoryInGBs
public ContainerInstanceShapeConfig.Builder memoryInGBs(Float memoryInGBs)
The total amount of memory available to the container instance, in gigabytes.- Parameters:
memoryInGBs- the value to set- Returns:
- this builder
-
processorDescription
public ContainerInstanceShapeConfig.Builder processorDescription(String processorDescription)
A short description of the container instance’s processor (CPU).- Parameters:
processorDescription- the value to set- Returns:
- this builder
-
networkingBandwidthInGbps
public ContainerInstanceShapeConfig.Builder networkingBandwidthInGbps(Float networkingBandwidthInGbps)
The networking bandwidth available to the container instance, in gigabits per second.- Parameters:
networkingBandwidthInGbps- the value to set- Returns:
- this builder
-
build
public ContainerInstanceShapeConfig build()
-
copy
public ContainerInstanceShapeConfig.Builder copy(ContainerInstanceShapeConfig model)
-
-