Class 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 the FlexComponentSummary.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 the FlexComponentSummary.Builder, which maintain a set of all explicitly set fields called FlexComponentSummary.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel