|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.moladb.model.ProvisionedThroughput
public class ProvisionedThroughput
Represents the provision throughput numbers for a specified table.
| Constructor Summary | |
|---|---|
ProvisionedThroughput()
Constructs a new ProvisionThroughput object. |
|
| Method Summary | |
|---|---|
Long |
getReadCapacityUnits()
Get the number of read capacity for this table. |
Long |
getWriteCapacityUnits()
Get the number of write capacity for this table. |
void |
setReadCapacityUnits(Long capacity)
Set the number of read capacity for this table. |
void |
setWriteCapacityUnits(Long capacity)
Set the number of write capacity for this table. |
protected Object |
toJsonObj()
|
String |
toString()
Return a string representation of the object. |
ProvisionedThroughput |
withReadCapacityUnits(Long capacity)
Set the number of read capacity for this table. |
ProvisionedThroughput |
withWriteCapacityUnits(Long capacity)
Set the number of write capacity for this table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProvisionedThroughput()
| Method Detail |
|---|
public Long getReadCapacityUnits()
public ProvisionedThroughput withReadCapacityUnits(Long capacity)
capacity - The number of read capacity for this table, the type is in long type.
public void setReadCapacityUnits(Long capacity)
capacity - The number of read capacity for this table, the type is in long type.public ProvisionedThroughput withWriteCapacityUnits(Long capacity)
capacity - The number of write capacity for this table, the type is in long type.
public void setWriteCapacityUnits(Long capacity)
capacity - The number of write capacity for this table, the type is in long type.public Long getWriteCapacityUnits()
public String toString()
toString in class Objectprotected Object toJsonObj()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||