Package com.oracle.bmc.database.model
Class DbSystemShapeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.DbSystemShapeSummary.Builder
-
- Enclosing class:
- DbSystemShapeSummary
public static class DbSystemShapeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemShapeSummary.Builder
areServerTypesSupported(Boolean areServerTypesSupported)
If true, the shape supports configurable DB and Storage Server types.DbSystemShapeSummary.Builder
availableCoreCount(Integer availableCoreCount)
The maximum number of CPU cores that can be enabled on the DB system for this shape.DbSystemShapeSummary.Builder
availableCoreCountPerNode(Integer availableCoreCountPerNode)
The maximum number of CPU cores per database node that can be enabled for this shape.DbSystemShapeSummary.Builder
availableDataStorageInTBs(Integer availableDataStorageInTBs)
The maximum DATA storage that can be enabled for this shape.DbSystemShapeSummary.Builder
availableDataStoragePerServerInTBs(Double availableDataStoragePerServerInTBs)
The maximum data storage available per storage server for this shape.DbSystemShapeSummary.Builder
availableDbNodePerNodeInGBs(Integer availableDbNodePerNodeInGBs)
The maximum Db Node storage available per database node for this shape.DbSystemShapeSummary.Builder
availableDbNodeStorageInGBs(Integer availableDbNodeStorageInGBs)
The maximum Db Node storage that can be enabled for this shape.DbSystemShapeSummary.Builder
availableMemoryInGBs(Integer availableMemoryInGBs)
The maximum memory that can be enabled for this shape.DbSystemShapeSummary.Builder
availableMemoryPerNodeInGBs(Integer availableMemoryPerNodeInGBs)
The maximum memory available per database node for this shape.DbSystemShapeSummary
build()
DbSystemShapeSummary.Builder
computeModel(DbSystemShapeSummary.ComputeModel computeModel)
The compute model of the Autonomous Database.DbSystemShapeSummary.Builder
copy(DbSystemShapeSummary model)
DbSystemShapeSummary.Builder
coreCountIncrement(Integer coreCountIncrement)
The discrete number by which the CPU core count for this shape can be increased or decreased.DbSystemShapeSummary.Builder
displayName(String displayName)
The display name of the shape used for the DB system.DbSystemShapeSummary.Builder
maximumNodeCount(Integer maximumNodeCount)
The maximum number of compute servers available for this shape.DbSystemShapeSummary.Builder
maxStorageCount(Integer maxStorageCount)
The maximum number of Exadata storage servers available for the Exadata infrastructure.DbSystemShapeSummary.Builder
minCoreCountPerNode(Integer minCoreCountPerNode)
The minimum number of CPU cores that can be enabled per node for this shape.DbSystemShapeSummary.Builder
minDataStorageInTBs(Integer minDataStorageInTBs)
The minimum data storage that need be allocated for this shape.DbSystemShapeSummary.Builder
minDbNodeStoragePerNodeInGBs(Integer minDbNodeStoragePerNodeInGBs)
The minimum Db Node storage that need be allocated per node for this shape.DbSystemShapeSummary.Builder
minimumCoreCount(Integer minimumCoreCount)
The minimum number of CPU cores that can be enabled on the DB system for this shape.DbSystemShapeSummary.Builder
minimumNodeCount(Integer minimumNodeCount)
The minimum number of compute servers available for this shape.DbSystemShapeSummary.Builder
minMemoryPerNodeInGBs(Integer minMemoryPerNodeInGBs)
The minimum memory that need be allocated per node for this shape.DbSystemShapeSummary.Builder
minStorageCount(Integer minStorageCount)
The minimum number of Exadata storage servers available for the Exadata infrastructure.DbSystemShapeSummary.Builder
name(String name)
The name of the shape used for the DB system.DbSystemShapeSummary.Builder
shape(String shape)
Deprecated.DbSystemShapeSummary.Builder
shapeFamily(String shapeFamily)
The family of the shape used for the DB system.DbSystemShapeSummary.Builder
shapeType(DbSystemShapeSummary.ShapeType shapeType)
The shape type for the virtual machine DB system.
-
-
-
Method Detail
-
name
public DbSystemShapeSummary.Builder name(String name)
The name of the shape used for the DB system.- Parameters:
name
- the value to set- Returns:
- this builder
-
shapeFamily
public DbSystemShapeSummary.Builder shapeFamily(String shapeFamily)
The family of the shape used for the DB system.- Parameters:
shapeFamily
- the value to set- Returns:
- this builder
-
shapeType
public DbSystemShapeSummary.Builder shapeType(DbSystemShapeSummary.ShapeType shapeType)
The shape type for the virtual machine DB system.Shape type is determined by CPU hardware. Valid values are AMD , INTEL, INTEL_FLEX_X9 or AMPERE_FLEX_A1.
- Parameters:
shapeType
- the value to set- Returns:
- this builder
-
shape
public DbSystemShapeSummary.Builder shape(String shape)
Deprecated.Use name instead of shape.
- Parameters:
shape
- the value to set- Returns:
- this builder
-
availableCoreCount
public DbSystemShapeSummary.Builder availableCoreCount(Integer availableCoreCount)
The maximum number of CPU cores that can be enabled on the DB system for this shape.- Parameters:
availableCoreCount
- the value to set- Returns:
- this builder
-
minimumCoreCount
public DbSystemShapeSummary.Builder minimumCoreCount(Integer minimumCoreCount)
The minimum number of CPU cores that can be enabled on the DB system for this shape.- Parameters:
minimumCoreCount
- the value to set- Returns:
- this builder
-
coreCountIncrement
public DbSystemShapeSummary.Builder coreCountIncrement(Integer coreCountIncrement)
The discrete number by which the CPU core count for this shape can be increased or decreased.- Parameters:
coreCountIncrement
- the value to set- Returns:
- this builder
-
minStorageCount
public DbSystemShapeSummary.Builder minStorageCount(Integer minStorageCount)
The minimum number of Exadata storage servers available for the Exadata infrastructure.- Parameters:
minStorageCount
- the value to set- Returns:
- this builder
-
maxStorageCount
public DbSystemShapeSummary.Builder maxStorageCount(Integer maxStorageCount)
The maximum number of Exadata storage servers available for the Exadata infrastructure.- Parameters:
maxStorageCount
- the value to set- Returns:
- this builder
-
availableDataStoragePerServerInTBs
public DbSystemShapeSummary.Builder availableDataStoragePerServerInTBs(Double availableDataStoragePerServerInTBs)
The maximum data storage available per storage server for this shape.Only applicable to ExaCC Elastic shapes.
- Parameters:
availableDataStoragePerServerInTBs
- the value to set- Returns:
- this builder
-
availableMemoryPerNodeInGBs
public DbSystemShapeSummary.Builder availableMemoryPerNodeInGBs(Integer availableMemoryPerNodeInGBs)
The maximum memory available per database node for this shape.Only applicable to ExaCC Elastic shapes.
- Parameters:
availableMemoryPerNodeInGBs
- the value to set- Returns:
- this builder
-
availableDbNodePerNodeInGBs
public DbSystemShapeSummary.Builder availableDbNodePerNodeInGBs(Integer availableDbNodePerNodeInGBs)
The maximum Db Node storage available per database node for this shape.Only applicable to ExaCC Elastic shapes.
- Parameters:
availableDbNodePerNodeInGBs
- the value to set- Returns:
- this builder
-
minCoreCountPerNode
public DbSystemShapeSummary.Builder minCoreCountPerNode(Integer minCoreCountPerNode)
The minimum number of CPU cores that can be enabled per node for this shape.- Parameters:
minCoreCountPerNode
- the value to set- Returns:
- this builder
-
availableMemoryInGBs
public DbSystemShapeSummary.Builder availableMemoryInGBs(Integer availableMemoryInGBs)
The maximum memory that can be enabled for this shape.- Parameters:
availableMemoryInGBs
- the value to set- Returns:
- this builder
-
minMemoryPerNodeInGBs
public DbSystemShapeSummary.Builder minMemoryPerNodeInGBs(Integer minMemoryPerNodeInGBs)
The minimum memory that need be allocated per node for this shape.- Parameters:
minMemoryPerNodeInGBs
- the value to set- Returns:
- this builder
-
availableDbNodeStorageInGBs
public DbSystemShapeSummary.Builder availableDbNodeStorageInGBs(Integer availableDbNodeStorageInGBs)
The maximum Db Node storage that can be enabled for this shape.- Parameters:
availableDbNodeStorageInGBs
- the value to set- Returns:
- this builder
-
minDbNodeStoragePerNodeInGBs
public DbSystemShapeSummary.Builder minDbNodeStoragePerNodeInGBs(Integer minDbNodeStoragePerNodeInGBs)
The minimum Db Node storage that need be allocated per node for this shape.- Parameters:
minDbNodeStoragePerNodeInGBs
- the value to set- Returns:
- this builder
-
availableDataStorageInTBs
public DbSystemShapeSummary.Builder availableDataStorageInTBs(Integer availableDataStorageInTBs)
The maximum DATA storage that can be enabled for this shape.- Parameters:
availableDataStorageInTBs
- the value to set- Returns:
- this builder
-
minDataStorageInTBs
public DbSystemShapeSummary.Builder minDataStorageInTBs(Integer minDataStorageInTBs)
The minimum data storage that need be allocated for this shape.- Parameters:
minDataStorageInTBs
- the value to set- Returns:
- this builder
-
displayName
public DbSystemShapeSummary.Builder displayName(String displayName)
The display name of the shape used for the DB system.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
computeModel
public DbSystemShapeSummary.Builder computeModel(DbSystemShapeSummary.ComputeModel computeModel)
The compute model of the Autonomous Database.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
- Parameters:
computeModel
- the value to set- Returns:
- this builder
-
areServerTypesSupported
public DbSystemShapeSummary.Builder areServerTypesSupported(Boolean areServerTypesSupported)
If true, the shape supports configurable DB and Storage Server types.- Parameters:
areServerTypesSupported
- the value to set- Returns:
- this builder
-
minimumNodeCount
public DbSystemShapeSummary.Builder minimumNodeCount(Integer minimumNodeCount)
The minimum number of compute servers available for this shape.- Parameters:
minimumNodeCount
- the value to set- Returns:
- this builder
-
maximumNodeCount
public DbSystemShapeSummary.Builder maximumNodeCount(Integer maximumNodeCount)
The maximum number of compute servers available for this shape.- Parameters:
maximumNodeCount
- the value to set- Returns:
- this builder
-
availableCoreCountPerNode
public DbSystemShapeSummary.Builder availableCoreCountPerNode(Integer availableCoreCountPerNode)
The maximum number of CPU cores per database node that can be enabled for this shape.Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes.
- Parameters:
availableCoreCountPerNode
- the value to set- Returns:
- this builder
-
build
public DbSystemShapeSummary build()
-
copy
public DbSystemShapeSummary.Builder copy(DbSystemShapeSummary model)
-
-