Package com.oracle.bmc.devops.model
Class ShapeConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.ShapeConfig.Builder
-
- Enclosing class:
- ShapeConfig
public static class ShapeConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeConfigbuild()ShapeConfig.Buildercopy(ShapeConfig model)ShapeConfig.BuildermemoryInGBs(Float memoryInGBs)The total amount of memory available to the instance, in gigabytes.ShapeConfig.Builderocpus(Float ocpus)The total number of OCPUs available to the instance.
-
-
-
Method Detail
-
ocpus
public ShapeConfig.Builder ocpus(Float ocpus)
The total number of OCPUs available to the instance.- Parameters:
ocpus- the value to set- Returns:
- this builder
-
memoryInGBs
public ShapeConfig.Builder memoryInGBs(Float memoryInGBs)
The total amount of memory available to the instance, in gigabytes.- Parameters:
memoryInGBs- the value to set- Returns:
- this builder
-
build
public ShapeConfig build()
-
copy
public ShapeConfig.Builder copy(ShapeConfig model)
-
-