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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringbundleId()The ID for the database bundle.final IntegercpuCount()The number of virtual CPUs (vCPUs) for the database bundle.final IntegerThe size of the disk for the database bundle.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanisActive()A Boolean value indicating whether the database bundle is active.final BooleanA Boolean value indicating whether the database bundle is encrypted.final Stringname()The name for the database bundle.final Floatprice()The cost of the database bundle in US currency.final FloatThe amount of RAM in GB (for example,2.0) for the database bundle.static Class<? extends RelationalDatabaseBundle.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe data transfer rate per month in GB for the database bundle.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bundleId
The ID for the database bundle.
- Returns:
- The ID for the database bundle.
-
name
The name for the database bundle.
- Returns:
- The name for the database bundle.
-
price
The cost of the database bundle in US currency.
- Returns:
- The cost of the database bundle in US currency.
-
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
The size of the disk for the database bundle.
- Returns:
- The size of the disk for the database bundle.
-
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
The number of virtual CPUs (vCPUs) for the database bundle.
- Returns:
- The number of virtual CPUs (vCPUs) for the database bundle.
-
isEncrypted
A Boolean value indicating whether the database bundle is encrypted.
- Returns:
- A Boolean value indicating whether the database bundle is encrypted.
-
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RelationalDatabaseBundle.Builder,RelationalDatabaseBundle> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-