Package com.oracle.bmc.psql.model
Class ShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.psql.model.ShapeSummary.Builder
-
- Enclosing class:
- ShapeSummary
public static class ShapeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShapeSummarybuild()ShapeSummary.Buildercopy(ShapeSummary model)ShapeSummary.Builderid(String id)A unique identifier for the shape.ShapeSummary.BuilderisFlexible(Boolean isFlexible)Indicates if the shape is a flex shape.ShapeSummary.BuildermemorySizeInGBs(Integer memorySizeInGBs)The amount of memory in gigabytes.ShapeSummary.BuilderocpuCount(Integer ocpuCount)The number of OCPUs.ShapeSummary.Buildershape(String shape)The name of the Compute VM shape.ShapeSummary.BuildershapeMemoryOptions(ShapeMemoryOptions shapeMemoryOptions)ShapeSummary.BuildershapeOcpuOptions(ShapeOcpuOptions shapeOcpuOptions)
-
-
-
Method Detail
-
id
public ShapeSummary.Builder id(String id)
A unique identifier for the shape.- Parameters:
id- the value to set- Returns:
- this builder
-
shape
public ShapeSummary.Builder shape(String shape)
The name of the Compute VM shape.Example: VM.Standard.E4.Flex
- Parameters:
shape- the value to set- Returns:
- this builder
-
isFlexible
public ShapeSummary.Builder isFlexible(Boolean isFlexible)
Indicates if the shape is a flex shape.- Parameters:
isFlexible- the value to set- Returns:
- this builder
-
ocpuCount
public ShapeSummary.Builder ocpuCount(Integer ocpuCount)
The number of OCPUs.- Parameters:
ocpuCount- the value to set- Returns:
- this builder
-
memorySizeInGBs
public ShapeSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
The amount of memory in gigabytes.- Parameters:
memorySizeInGBs- the value to set- Returns:
- this builder
-
shapeOcpuOptions
public ShapeSummary.Builder shapeOcpuOptions(ShapeOcpuOptions shapeOcpuOptions)
-
shapeMemoryOptions
public ShapeSummary.Builder shapeMemoryOptions(ShapeMemoryOptions shapeMemoryOptions)
-
build
public ShapeSummary build()
-
copy
public ShapeSummary.Builder copy(ShapeSummary model)
-
-