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.ExplicitlySetBmcModel
The 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.
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 class
FlexComponentSummary.Builder
static class
FlexComponentSummary.HardwareType
The 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.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getAvailableCoreCount()
The maximum number of CPU cores that can ben enabled on the DB Server for this Flex Component.Integer
getAvailableDbStorageInGBs()
The maximum storage that can be enabled on the Storage Server for this Flex Component.Integer
getAvailableLocalStorageInGBs()
The maximum local storage that can be enabled on the DB Server for this Flex Component.Integer
getAvailableMemoryInGBs()
The maximum memory size that can be enabled on the DB Server for this Flex Component.String
getComputeModel()
The compute model of the DB Server for this Flex Component.String
getDescriptionSummary()
The description summary for this Flex Component.FlexComponentSummary.HardwareType
getHardwareType()
The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.Integer
getMinimumCoreCount()
The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.String
getName()
The name of the Flex Component used for the DB system.Integer
getRuntimeMinimumCoreCount()
The runtime minimum number of CPU cores that can be enabled for this Flex Component.String
getShape()
The name of the DB system shape for this Flex Component.int
hashCode()
FlexComponentSummary.Builder
toBuilder()
String
toString()
String
toString(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:
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
-
-