Package com.oracle.bmc.batch.model
Class FleetShape.Builder
- java.lang.Object
-
- com.oracle.bmc.batch.model.FleetShape.Builder
-
- Enclosing class:
- FleetShape
public static class FleetShape.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetShapebuild()FleetShape.Buildercopy(FleetShape model)FleetShape.BuildermemoryInGBs(Integer memoryInGBs)Amount of memory in GBs required by the shape.FleetShape.Builderocpus(Integer ocpus)Number of OCPUs required by the shape.FleetShape.BuildershapeName(String shapeName)The name of the shape.
-
-
-
Method Detail
-
shapeName
public FleetShape.Builder shapeName(String shapeName)
The name of the shape.- Parameters:
shapeName- the value to set- Returns:
- this builder
-
ocpus
public FleetShape.Builder ocpus(Integer ocpus)
Number of OCPUs required by the shape.- Parameters:
ocpus- the value to set- Returns:
- this builder
-
memoryInGBs
public FleetShape.Builder memoryInGBs(Integer memoryInGBs)
Amount of memory in GBs required by the shape.- Parameters:
memoryInGBs- the value to set- Returns:
- this builder
-
build
public FleetShape build()
-
copy
public FleetShape.Builder copy(FleetShape model)
-
-