Package com.oracle.bmc.mysql.model
Class ShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.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 ShapeSummary
build()
ShapeSummary.Builder
copy(ShapeSummary model)
ShapeSummary.Builder
cpuCoreCount(Integer cpuCoreCount)
The number of CPU Cores the Instance provides.ShapeSummary.Builder
isSupportedFor(List<ShapeSummary.IsSupportedFor> isSupportedFor)
What service features the shape is supported for.ShapeSummary.Builder
memorySizeInGBs(Integer memorySizeInGBs)
The amount of RAM the Instance provides.ShapeSummary.Builder
name(String name)
The name of the shape used for the DB System.
-
-
-
Method Detail
-
name
public ShapeSummary.Builder name(String name)
The name of the shape used for the DB System.- Parameters:
name
- the value to set- Returns:
- this builder
-
cpuCoreCount
public ShapeSummary.Builder cpuCoreCount(Integer cpuCoreCount)
The number of CPU Cores the Instance provides.These are "OCPU"s.
- Parameters:
cpuCoreCount
- the value to set- Returns:
- this builder
-
memorySizeInGBs
public ShapeSummary.Builder memorySizeInGBs(Integer memorySizeInGBs)
The amount of RAM the Instance provides.This is an IEC base-2 number.
- Parameters:
memorySizeInGBs
- the value to set- Returns:
- this builder
-
isSupportedFor
public ShapeSummary.Builder isSupportedFor(List<ShapeSummary.IsSupportedFor> isSupportedFor)
What service features the shape is supported for.- Parameters:
isSupportedFor
- the value to set- Returns:
- this builder
-
build
public ShapeSummary build()
-
copy
public ShapeSummary.Builder copy(ShapeSummary model)
-
-