Class FlexComponentSummary

java.lang.Object
software.amazon.awssdk.services.odb.model.FlexComponentSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<FlexComponentSummary.Builder,FlexComponentSummary>

@Generated("software.amazon.awssdk:codegen") public final class FlexComponentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FlexComponentSummary.Builder,FlexComponentSummary>

Information about a flex component that's available for an Exadata infrastructure. A flex component defines the hardware resources, such as CPU cores, memory, and storage, that can be allocated to a shape.

See Also:
  • Method Details

    • availableCoreCount

      public final Integer availableCoreCount()

      The maximum number of CPU cores that can be enabled for the flex component.

      Returns:
      The maximum number of CPU cores that can be enabled for the flex component.
    • availableDbStorageInGBs

      public final Integer availableDbStorageInGBs()

      The maximum amount of database storage, in gigabytes (GB), that can be enabled for the flex component.

      Returns:
      The maximum amount of database storage, in gigabytes (GB), that can be enabled for the flex component.
    • availableLocalStorageInGBs

      public final Integer availableLocalStorageInGBs()

      The maximum amount of local storage, in gigabytes (GB), that can be enabled for the flex component.

      Returns:
      The maximum amount of local storage, in gigabytes (GB), that can be enabled for the flex component.
    • availableMemoryInGBs

      public final Integer availableMemoryInGBs()

      The maximum amount of memory, in gigabytes (GB), that can be enabled for the flex component.

      Returns:
      The maximum amount of memory, in gigabytes (GB), that can be enabled for the flex component.
    • computeModel

      public final ComputeModel computeModel()

      The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled.

      If the service returns an enum value that is not available in the current SDK version, computeModel will return ComputeModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from computeModelAsString().

      Returns:
      The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled.
      See Also:
    • computeModelAsString

      public final String computeModelAsString()

      The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled.

      If the service returns an enum value that is not available in the current SDK version, computeModel will return ComputeModel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from computeModelAsString().

      Returns:
      The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled.
      See Also:
    • descriptionSummary

      public final String descriptionSummary()

      A summary description of the flex component.

      Returns:
      A summary description of the flex component.
    • hardwareType

      public final HardwareType hardwareType()

      The type of hardware for the flex component. Valid values are COMPUTE for compute servers and CELL for storage servers.

      If the service returns an enum value that is not available in the current SDK version, hardwareType will return HardwareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from hardwareTypeAsString().

      Returns:
      The type of hardware for the flex component. Valid values are COMPUTE for compute servers and CELL for storage servers.
      See Also:
    • hardwareTypeAsString

      public final String hardwareTypeAsString()

      The type of hardware for the flex component. Valid values are COMPUTE for compute servers and CELL for storage servers.

      If the service returns an enum value that is not available in the current SDK version, hardwareType will return HardwareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from hardwareTypeAsString().

      Returns:
      The type of hardware for the flex component. Valid values are COMPUTE for compute servers and CELL for storage servers.
      See Also:
    • minimumCoreCount

      public final Integer minimumCoreCount()

      The minimum number of CPU cores that can be enabled for the flex component.

      Returns:
      The minimum number of CPU cores that can be enabled for the flex component.
    • name

      public final String name()

      The name of the flex component.

      Returns:
      The name of the flex component.
    • runtimeMinimumCoreCount

      public final Integer runtimeMinimumCoreCount()

      The runtime minimum number of CPU cores that can be enabled for the flex component.

      Returns:
      The runtime minimum number of CPU cores that can be enabled for the flex component.
    • shape

      public final String shape()

      The shape that uses the flex component.

      Returns:
      The shape that uses the flex component.
    • toBuilder

      public FlexComponentSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<FlexComponentSummary.Builder,FlexComponentSummary>
      Returns:
      a builder for type T
    • builder

      public static FlexComponentSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends FlexComponentSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.