Class RelationalDatabaseHardware
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.RelationalDatabaseHardware
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RelationalDatabaseHardware.Builder,RelationalDatabaseHardware>
@Generated("software.amazon.awssdk:codegen") public final class RelationalDatabaseHardware extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelationalDatabaseHardware.Builder,RelationalDatabaseHardware>
Describes the hardware of a database.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelationalDatabaseHardware.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationalDatabaseHardware.Builderbuilder()IntegercpuCount()The number of vCPUs for the database.IntegerdiskSizeInGb()The size of the disk for the database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FloatramSizeInGb()The amount of RAM in GB for the database.List<SdkField<?>>sdkFields()static Class<? extends RelationalDatabaseHardware.Builder>serializableBuilderClass()RelationalDatabaseHardware.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
cpuCount
public final Integer cpuCount()
The number of vCPUs for the database.
- Returns:
- The number of vCPUs for the database.
-
diskSizeInGb
public final Integer diskSizeInGb()
The size of the disk for the database.
- Returns:
- The size of the disk for the database.
-
ramSizeInGb
public final Float ramSizeInGb()
The amount of RAM in GB for the database.
- Returns:
- The amount of RAM in GB for the database.
-
toBuilder
public RelationalDatabaseHardware.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RelationalDatabaseHardware.Builder,RelationalDatabaseHardware>
-
builder
public static RelationalDatabaseHardware.Builder builder()
-
serializableBuilderClass
public static Class<? extends RelationalDatabaseHardware.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.
-
-