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
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
bundleId()
The ID for the database bundle.final Integer
cpuCount()
The number of virtual CPUs (vCPUs) for the database bundle.final Integer
The size of the disk for the database bundle.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Boolean
isActive()
A Boolean value indicating whether the database bundle is active.final Boolean
A Boolean value indicating whether the database bundle is encrypted.final String
name()
The name for the database bundle.final Float
price()
The cost of the database bundle in US currency.final Float
The 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 String
toString()
Returns a string representation of this object.final Integer
The 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RelationalDatabaseBundle.Builder,
RelationalDatabaseBundle> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-