@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelationalDatabaseBundle extends Object implements Serializable, Cloneable, StructuredPojo
Describes a database bundle. A bundle describes the performance specifications of the database.
Constructor and Description |
---|
RelationalDatabaseBundle() |
Modifier and Type | Method and Description |
---|---|
RelationalDatabaseBundle |
clone() |
boolean |
equals(Object obj) |
String |
getBundleId()
The ID for the database bundle.
|
Integer |
getCpuCount()
The number of virtual CPUs (vCPUs) for the database bundle.
|
Integer |
getDiskSizeInGb()
The size of the disk for the database bundle.
|
Boolean |
getIsActive()
A Boolean value indicating whether the database bundle is active.
|
Boolean |
getIsEncrypted()
A Boolean value indicating whether the database bundle is encrypted.
|
String |
getName()
The name for the database bundle.
|
Float |
getPrice()
The cost of the database bundle in US currency.
|
Float |
getRamSizeInGb()
The amount of RAM in GB (for example,
2.0 ) for the database bundle. |
Integer |
getTransferPerMonthInGb()
The data transfer rate per month in GB for the database bundle.
|
int |
hashCode() |
Boolean |
isActive()
A Boolean value indicating whether the database bundle is active.
|
Boolean |
isEncrypted()
A Boolean value indicating whether the database bundle is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBundleId(String bundleId)
The ID for the database bundle.
|
void |
setCpuCount(Integer cpuCount)
The number of virtual CPUs (vCPUs) for the database bundle.
|
void |
setDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database bundle.
|
void |
setIsActive(Boolean isActive)
A Boolean value indicating whether the database bundle is active.
|
void |
setIsEncrypted(Boolean isEncrypted)
A Boolean value indicating whether the database bundle is encrypted.
|
void |
setName(String name)
The name for the database bundle.
|
void |
setPrice(Float price)
The cost of the database bundle in US currency.
|
void |
setRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (for example,
2.0 ) for the database bundle. |
void |
setTransferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB for the database bundle.
|
String |
toString()
Returns a string representation of this object.
|
RelationalDatabaseBundle |
withBundleId(String bundleId)
The ID for the database bundle.
|
RelationalDatabaseBundle |
withCpuCount(Integer cpuCount)
The number of virtual CPUs (vCPUs) for the database bundle.
|
RelationalDatabaseBundle |
withDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database bundle.
|
RelationalDatabaseBundle |
withIsActive(Boolean isActive)
A Boolean value indicating whether the database bundle is active.
|
RelationalDatabaseBundle |
withIsEncrypted(Boolean isEncrypted)
A Boolean value indicating whether the database bundle is encrypted.
|
RelationalDatabaseBundle |
withName(String name)
The name for the database bundle.
|
RelationalDatabaseBundle |
withPrice(Float price)
The cost of the database bundle in US currency.
|
RelationalDatabaseBundle |
withRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (for example,
2.0 ) for the database bundle. |
RelationalDatabaseBundle |
withTransferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB for the database bundle.
|
public void setBundleId(String bundleId)
The ID for the database bundle.
bundleId
- The ID for the database bundle.public String getBundleId()
The ID for the database bundle.
public RelationalDatabaseBundle withBundleId(String bundleId)
The ID for the database bundle.
bundleId
- The ID for the database bundle.public void setName(String name)
The name for the database bundle.
name
- The name for the database bundle.public String getName()
The name for the database bundle.
public RelationalDatabaseBundle withName(String name)
The name for the database bundle.
name
- The name for the database bundle.public void setPrice(Float price)
The cost of the database bundle in US currency.
price
- The cost of the database bundle in US currency.public Float getPrice()
The cost of the database bundle in US currency.
public RelationalDatabaseBundle withPrice(Float price)
The cost of the database bundle in US currency.
price
- The cost of the database bundle in US currency.public void setRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (for example, 2.0
) for the database bundle.
ramSizeInGb
- The amount of RAM in GB (for example, 2.0
) for the database bundle.public Float getRamSizeInGb()
The amount of RAM in GB (for example, 2.0
) for the database bundle.
2.0
) for the database bundle.public RelationalDatabaseBundle withRamSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (for example, 2.0
) for the database bundle.
ramSizeInGb
- The amount of RAM in GB (for example, 2.0
) for the database bundle.public void setDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database bundle.
diskSizeInGb
- The size of the disk for the database bundle.public Integer getDiskSizeInGb()
The size of the disk for the database bundle.
public RelationalDatabaseBundle withDiskSizeInGb(Integer diskSizeInGb)
The size of the disk for the database bundle.
diskSizeInGb
- The size of the disk for the database bundle.public void setTransferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB for the database bundle.
transferPerMonthInGb
- The data transfer rate per month in GB for the database bundle.public Integer getTransferPerMonthInGb()
The data transfer rate per month in GB for the database bundle.
public RelationalDatabaseBundle withTransferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB for the database bundle.
transferPerMonthInGb
- The data transfer rate per month in GB for the database bundle.public void setCpuCount(Integer cpuCount)
The number of virtual CPUs (vCPUs) for the database bundle.
cpuCount
- The number of virtual CPUs (vCPUs) for the database bundle.public Integer getCpuCount()
The number of virtual CPUs (vCPUs) for the database bundle.
public RelationalDatabaseBundle withCpuCount(Integer cpuCount)
The number of virtual CPUs (vCPUs) for the database bundle.
cpuCount
- The number of virtual CPUs (vCPUs) for the database bundle.public void setIsEncrypted(Boolean isEncrypted)
A Boolean value indicating whether the database bundle is encrypted.
isEncrypted
- A Boolean value indicating whether the database bundle is encrypted.public Boolean getIsEncrypted()
A Boolean value indicating whether the database bundle is encrypted.
public RelationalDatabaseBundle withIsEncrypted(Boolean isEncrypted)
A Boolean value indicating whether the database bundle is encrypted.
isEncrypted
- A Boolean value indicating whether the database bundle is encrypted.public Boolean isEncrypted()
A Boolean value indicating whether the database bundle is encrypted.
public void setIsActive(Boolean isActive)
A Boolean value indicating whether the database bundle is active.
isActive
- A Boolean value indicating whether the database bundle is active.public Boolean getIsActive()
A Boolean value indicating whether the database bundle is active.
public RelationalDatabaseBundle withIsActive(Boolean isActive)
A Boolean value indicating whether the database bundle is active.
isActive
- A Boolean value indicating whether the database bundle is active.public Boolean isActive()
A Boolean value indicating whether the database bundle is active.
public String toString()
toString
in class Object
Object.toString()
public RelationalDatabaseBundle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.