Class FlexComponentSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.FlexComponentSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class FlexComponentSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe Flex Components for a DB system.The Flex Component determines resources to allocate to the DB system - CPU cores, memory and storage for Flex shapes.
For Exadata flexible shapes, detailed specifications can be found in https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/exa-service-desc.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B
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 theFlexComponentSummary.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 theFlexComponentSummary.Builder, which maintain a set of all explicitly set fields calledFlexComponentSummary.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 classFlexComponentSummary.Builderstatic classFlexComponentSummary.HardwareTypeThe hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.
-
Constructor Summary
Constructors Constructor Description FlexComponentSummary(String name, Integer minimumCoreCount, Integer availableCoreCount, Integer availableDbStorageInGBs, Integer runtimeMinimumCoreCount, String shape, Integer availableMemoryInGBs, Integer availableLocalStorageInGBs, String computeModel, FlexComponentSummary.HardwareType hardwareType, String descriptionSummary)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlexComponentSummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetAvailableCoreCount()The maximum number of CPU cores that can ben enabled on the DB Server for this Flex Component.IntegergetAvailableDbStorageInGBs()The maximum storage that can be enabled on the Storage Server for this Flex Component.IntegergetAvailableLocalStorageInGBs()The maximum local storage that can be enabled on the DB Server for this Flex Component.IntegergetAvailableMemoryInGBs()The maximum memory size that can be enabled on the DB Server for this Flex Component.StringgetComputeModel()The compute model of the DB Server for this Flex Component.StringgetDescriptionSummary()The description summary for this Flex Component.FlexComponentSummary.HardwareTypegetHardwareType()The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.IntegergetMinimumCoreCount()The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.StringgetName()The name of the Flex Component used for the DB system.IntegergetRuntimeMinimumCoreCount()The runtime minimum number of CPU cores that can be enabled for this Flex Component.StringgetShape()The name of the DB system shape for this Flex Component.inthashCode()FlexComponentSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
FlexComponentSummary
@Deprecated @ConstructorProperties({"name","minimumCoreCount","availableCoreCount","availableDbStorageInGBs","runtimeMinimumCoreCount","shape","availableMemoryInGBs","availableLocalStorageInGBs","computeModel","hardwareType","descriptionSummary"}) public FlexComponentSummary(String name, Integer minimumCoreCount, Integer availableCoreCount, Integer availableDbStorageInGBs, Integer runtimeMinimumCoreCount, String shape, Integer availableMemoryInGBs, Integer availableLocalStorageInGBs, String computeModel, FlexComponentSummary.HardwareType hardwareType, String descriptionSummary)
Deprecated.
-
-
Method Detail
-
builder
public static FlexComponentSummary.Builder builder()
Create a new builder.
-
toBuilder
public FlexComponentSummary.Builder toBuilder()
-
getName
public String getName()
The name of the Flex Component used for the DB system.- Returns:
- the value
-
getMinimumCoreCount
public Integer getMinimumCoreCount()
The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.- Returns:
- the value
-
getAvailableCoreCount
public Integer getAvailableCoreCount()
The maximum number of CPU cores that can ben enabled on the DB Server for this Flex Component.- Returns:
- the value
-
getAvailableDbStorageInGBs
public Integer getAvailableDbStorageInGBs()
The maximum storage that can be enabled on the Storage Server for this Flex Component.- Returns:
- the value
-
getRuntimeMinimumCoreCount
public Integer getRuntimeMinimumCoreCount()
The runtime minimum number of CPU cores that can be enabled for this Flex Component.- Returns:
- the value
-
getShape
public String getShape()
The name of the DB system shape for this Flex Component.- Returns:
- the value
-
getAvailableMemoryInGBs
public Integer getAvailableMemoryInGBs()
The maximum memory size that can be enabled on the DB Server for this Flex Component.- Returns:
- the value
-
getAvailableLocalStorageInGBs
public Integer getAvailableLocalStorageInGBs()
The maximum local storage that can be enabled on the DB Server for this Flex Component.- Returns:
- the value
-
getComputeModel
public String getComputeModel()
The compute model of the DB Server for this Flex Component.- Returns:
- the value
-
getHardwareType
public FlexComponentSummary.HardwareType getHardwareType()
The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.- Returns:
- the value
-
getDescriptionSummary
public String getDescriptionSummary()
The description summary for this Flex Component.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-