Class DbSystemShapeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DbSystemShapeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbSystemShapeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The shape of the DB system.The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).
Note: Objects should always be created or deserialized using theDbSystemShapeSummary.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDbSystemShapeSummary.Builder
, which maintain a set of all explicitly set fields calledDbSystemShapeSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbSystemShapeSummary.Builder
static class
DbSystemShapeSummary.ComputeModel
The compute model of the Autonomous Database.static class
DbSystemShapeSummary.ShapeType
The shape type for the virtual machine DB system.
-
Constructor Summary
Constructors Constructor Description DbSystemShapeSummary(String name, String shapeFamily, DbSystemShapeSummary.ShapeType shapeType, String shape, Integer availableCoreCount, Integer minimumCoreCount, Integer coreCountIncrement, Integer minStorageCount, Integer maxStorageCount, Double availableDataStoragePerServerInTBs, Integer availableMemoryPerNodeInGBs, Integer availableDbNodePerNodeInGBs, Integer minCoreCountPerNode, Integer availableMemoryInGBs, Integer minMemoryPerNodeInGBs, Integer availableDbNodeStorageInGBs, Integer minDbNodeStoragePerNodeInGBs, Integer availableDataStorageInTBs, Integer minDataStorageInTBs, String displayName, DbSystemShapeSummary.ComputeModel computeModel, Boolean areServerTypesSupported, Integer minimumNodeCount, Integer maximumNodeCount, Integer availableCoreCountPerNode)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbSystemShapeSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAreServerTypesSupported()
If true, the shape supports configurable DB and Storage Server types.Integer
getAvailableCoreCount()
The maximum number of CPU cores that can be enabled on the DB system for this shape.Integer
getAvailableCoreCountPerNode()
The maximum number of CPU cores per database node that can be enabled for this shape.Integer
getAvailableDataStorageInTBs()
The maximum DATA storage that can be enabled for this shape.Double
getAvailableDataStoragePerServerInTBs()
The maximum data storage available per storage server for this shape.Integer
getAvailableDbNodePerNodeInGBs()
The maximum Db Node storage available per database node for this shape.Integer
getAvailableDbNodeStorageInGBs()
The maximum Db Node storage that can be enabled for this shape.Integer
getAvailableMemoryInGBs()
The maximum memory that can be enabled for this shape.Integer
getAvailableMemoryPerNodeInGBs()
The maximum memory available per database node for this shape.DbSystemShapeSummary.ComputeModel
getComputeModel()
The compute model of the Autonomous Database.Integer
getCoreCountIncrement()
The discrete number by which the CPU core count for this shape can be increased or decreased.String
getDisplayName()
The display name of the shape used for the DB system.Integer
getMaximumNodeCount()
The maximum number of compute servers available for this shape.Integer
getMaxStorageCount()
The maximum number of Exadata storage servers available for the Exadata infrastructure.Integer
getMinCoreCountPerNode()
The minimum number of CPU cores that can be enabled per node for this shape.Integer
getMinDataStorageInTBs()
The minimum data storage that need be allocated for this shape.Integer
getMinDbNodeStoragePerNodeInGBs()
The minimum Db Node storage that need be allocated per node for this shape.Integer
getMinimumCoreCount()
The minimum number of CPU cores that can be enabled on the DB system for this shape.Integer
getMinimumNodeCount()
The minimum number of compute servers available for this shape.Integer
getMinMemoryPerNodeInGBs()
The minimum memory that need be allocated per node for this shape.Integer
getMinStorageCount()
The minimum number of Exadata storage servers available for the Exadata infrastructure.String
getName()
The name of the shape used for the DB system.String
getShape()
Deprecated.String
getShapeFamily()
The family of the shape used for the DB system.DbSystemShapeSummary.ShapeType
getShapeType()
The shape type for the virtual machine DB system.int
hashCode()
DbSystemShapeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DbSystemShapeSummary
@Deprecated @ConstructorProperties({"name","shapeFamily","shapeType","shape","availableCoreCount","minimumCoreCount","coreCountIncrement","minStorageCount","maxStorageCount","availableDataStoragePerServerInTBs","availableMemoryPerNodeInGBs","availableDbNodePerNodeInGBs","minCoreCountPerNode","availableMemoryInGBs","minMemoryPerNodeInGBs","availableDbNodeStorageInGBs","minDbNodeStoragePerNodeInGBs","availableDataStorageInTBs","minDataStorageInTBs","displayName","computeModel","areServerTypesSupported","minimumNodeCount","maximumNodeCount","availableCoreCountPerNode"}) public DbSystemShapeSummary(String name, String shapeFamily, DbSystemShapeSummary.ShapeType shapeType, String shape, Integer availableCoreCount, Integer minimumCoreCount, Integer coreCountIncrement, Integer minStorageCount, Integer maxStorageCount, Double availableDataStoragePerServerInTBs, Integer availableMemoryPerNodeInGBs, Integer availableDbNodePerNodeInGBs, Integer minCoreCountPerNode, Integer availableMemoryInGBs, Integer minMemoryPerNodeInGBs, Integer availableDbNodeStorageInGBs, Integer minDbNodeStoragePerNodeInGBs, Integer availableDataStorageInTBs, Integer minDataStorageInTBs, String displayName, DbSystemShapeSummary.ComputeModel computeModel, Boolean areServerTypesSupported, Integer minimumNodeCount, Integer maximumNodeCount, Integer availableCoreCountPerNode)
Deprecated.
-
-
Method Detail
-
builder
public static DbSystemShapeSummary.Builder builder()
Create a new builder.
-
toBuilder
public DbSystemShapeSummary.Builder toBuilder()
-
getName
public String getName()
The name of the shape used for the DB system.- Returns:
- the value
-
getShapeFamily
public String getShapeFamily()
The family of the shape used for the DB system.- Returns:
- the value
-
getShapeType
public DbSystemShapeSummary.ShapeType getShapeType()
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.
- Returns:
- the value
-
getShape
public String getShape()
Deprecated.Use name instead of shape.
- Returns:
- the value
-
getAvailableCoreCount
public Integer getAvailableCoreCount()
The maximum number of CPU cores that can be enabled on the DB system for this shape.- Returns:
- the value
-
getMinimumCoreCount
public Integer getMinimumCoreCount()
The minimum number of CPU cores that can be enabled on the DB system for this shape.- Returns:
- the value
-
getCoreCountIncrement
public Integer getCoreCountIncrement()
The discrete number by which the CPU core count for this shape can be increased or decreased.- Returns:
- the value
-
getMinStorageCount
public Integer getMinStorageCount()
The minimum number of Exadata storage servers available for the Exadata infrastructure.- Returns:
- the value
-
getMaxStorageCount
public Integer getMaxStorageCount()
The maximum number of Exadata storage servers available for the Exadata infrastructure.- Returns:
- the value
-
getAvailableDataStoragePerServerInTBs
public Double getAvailableDataStoragePerServerInTBs()
The maximum data storage available per storage server for this shape.Only applicable to ExaCC Elastic shapes.
- Returns:
- the value
-
getAvailableMemoryPerNodeInGBs
public Integer getAvailableMemoryPerNodeInGBs()
The maximum memory available per database node for this shape.Only applicable to ExaCC Elastic shapes.
- Returns:
- the value
-
getAvailableDbNodePerNodeInGBs
public Integer getAvailableDbNodePerNodeInGBs()
The maximum Db Node storage available per database node for this shape.Only applicable to ExaCC Elastic shapes.
- Returns:
- the value
-
getMinCoreCountPerNode
public Integer getMinCoreCountPerNode()
The minimum number of CPU cores that can be enabled per node for this shape.- Returns:
- the value
-
getAvailableMemoryInGBs
public Integer getAvailableMemoryInGBs()
The maximum memory that can be enabled for this shape.- Returns:
- the value
-
getMinMemoryPerNodeInGBs
public Integer getMinMemoryPerNodeInGBs()
The minimum memory that need be allocated per node for this shape.- Returns:
- the value
-
getAvailableDbNodeStorageInGBs
public Integer getAvailableDbNodeStorageInGBs()
The maximum Db Node storage that can be enabled for this shape.- Returns:
- the value
-
getMinDbNodeStoragePerNodeInGBs
public Integer getMinDbNodeStoragePerNodeInGBs()
The minimum Db Node storage that need be allocated per node for this shape.- Returns:
- the value
-
getAvailableDataStorageInTBs
public Integer getAvailableDataStorageInTBs()
The maximum DATA storage that can be enabled for this shape.- Returns:
- the value
-
getMinDataStorageInTBs
public Integer getMinDataStorageInTBs()
The minimum data storage that need be allocated for this shape.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the shape used for the DB system.- Returns:
- the value
-
getComputeModel
public DbSystemShapeSummary.ComputeModel getComputeModel()
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.
- Returns:
- the value
-
getAreServerTypesSupported
public Boolean getAreServerTypesSupported()
If true, the shape supports configurable DB and Storage Server types.- Returns:
- the value
-
getMinimumNodeCount
public Integer getMinimumNodeCount()
The minimum number of compute servers available for this shape.- Returns:
- the value
-
getMaximumNodeCount
public Integer getMaximumNodeCount()
The maximum number of compute servers available for this shape.- Returns:
- the value
-
getAvailableCoreCountPerNode
public Integer getAvailableCoreCountPerNode()
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-