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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelationalDatabaseBundle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationalDatabaseBundle.Builderbuilder()StringbundleId()The ID for the database bundle.IntegercpuCount()The number of virtual CPUs (vCPUs) for the database bundle.IntegerdiskSizeInGb()The size of the disk for the database bundle.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisActive()A Boolean value indicating whether the database bundle is active.BooleanisEncrypted()A Boolean value indicating whether the database bundle is encrypted.Stringname()The name for the database bundle.Floatprice()The cost of the database bundle in US currency.FloatramSizeInGb()The amount of RAM in GB (for example,2.0) for the database bundle.List<SdkField<?>>sdkFields()static Class<? extends RelationalDatabaseBundle.Builder>serializableBuilderClass()RelationalDatabaseBundle.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertransferPerMonthInGb()The data transfer rate per month in GB for the database bundle.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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
public RelationalDatabaseBundle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RelationalDatabaseBundle.Builder,RelationalDatabaseBundle>
-
builder
public static RelationalDatabaseBundle.Builder builder()
-
serializableBuilderClass
public static Class<? extends RelationalDatabaseBundle.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-