Class RelationalDatabaseBundle

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

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

Describes a database bundle. A bundle describes the performance specifications of the database.

See Also:
  • Method Details

    • bundleId

      public final String bundleId()

      The ID for the database bundle.

      Returns:
      The ID for the database bundle.
    • name

      public final String name()

      The name for the database bundle.

      Returns:
      The name for the database bundle.
    • price

      public final Float price()

      The cost of the database bundle in US currency.

      Returns:
      The cost of the database bundle in US currency.
    • ramSizeInGb

      public final Float ramSizeInGb()

      The amount of RAM in GB (for example, 2.0) for the database bundle.

      Returns:
      The amount of RAM in GB (for example, 2.0) for the database bundle.
    • diskSizeInGb

      public final Integer diskSizeInGb()

      The size of the disk for the database bundle.

      Returns:
      The size of the disk for the database bundle.
    • transferPerMonthInGb

      public final Integer transferPerMonthInGb()

      The data transfer rate per month in GB for the database bundle.

      Returns:
      The data transfer rate per month in GB for the database bundle.
    • cpuCount

      public final Integer cpuCount()

      The number of virtual CPUs (vCPUs) for the database bundle.

      Returns:
      The number of virtual CPUs (vCPUs) for the database bundle.
    • isEncrypted

      public final Boolean isEncrypted()

      A Boolean value indicating whether the database bundle is encrypted.

      Returns:
      A Boolean value indicating whether the database bundle is encrypted.
    • isActive

      public final Boolean isActive()

      A Boolean value indicating whether the database bundle is active.

      Returns:
      A Boolean value indicating whether the database bundle is active.
    • 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<RelationalDatabaseBundle.Builder,RelationalDatabaseBundle>
      Returns:
      a builder for type T
    • builder

      public static RelationalDatabaseBundle.Builder builder()
    • serializableBuilderClass

      public static Class<? extends RelationalDatabaseBundle.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.