@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelationalDatabaseHardware extends Object implements Serializable, Cloneable, StructuredPojo
Describes the hardware of a database.
Constructor and Description |
---|
RelationalDatabaseHardware() |
Modifier and Type | Method and Description |
---|---|
RelationalDatabaseHardware |
clone() |
boolean |
equals(Object obj) |
Integer |
getCpuCount()
The number of vCPUs for the database.
|
Integer |
getDiskSizeInGb()
The size of the disk for the database.
|
Float |
getRamSizeInGb()
The amount of RAM in GB for the database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpuCount(Integer cpuCount)
The number of vCPUs for the database.
|
void |
setDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database.
|
void |
setRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB for the database.
|
String |
toString()
Returns a string representation of this object.
|
RelationalDatabaseHardware |
withCpuCount(Integer cpuCount)
The number of vCPUs for the database.
|
RelationalDatabaseHardware |
withDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database.
|
RelationalDatabaseHardware |
withRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB for the database.
|
public void setCpuCount(Integer cpuCount)
The number of vCPUs for the database.
cpuCount
- The number of vCPUs for the database.public Integer getCpuCount()
The number of vCPUs for the database.
public RelationalDatabaseHardware withCpuCount(Integer cpuCount)
The number of vCPUs for the database.
cpuCount
- The number of vCPUs for the database.public void setDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database.
diskSizeInGb
- The size of the disk for the database.public Integer getDiskSizeInGb()
The size of the disk for the database.
public RelationalDatabaseHardware withDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database.
diskSizeInGb
- The size of the disk for the database.public void setRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB for the database.
ramSizeInGb
- The amount of RAM in GB for the database.public Float getRamSizeInGb()
The amount of RAM in GB for the database.
public RelationalDatabaseHardware withRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB for the database.
ramSizeInGb
- The amount of RAM in GB for the database.public String toString()
toString
in class Object
Object.toString()
public RelationalDatabaseHardware clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.