类 ProvisionedThroughput
- java.lang.Object
-
- com.baidubce.services.moladb.model.ProvisionedThroughput
-
public class ProvisionedThroughput extends Object
Represents the provision throughput numbers for a specified table.
-
-
构造器概要
构造器 构造器 说明 ProvisionedThroughput()Constructs a new ProvisionThroughput object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LonggetReadCapacityUnits()Get the number of read capacity for this table.LonggetWriteCapacityUnits()Get the number of write capacity for this table.voidsetReadCapacityUnits(Long capacity)Set the number of read capacity for this table.voidsetWriteCapacityUnits(Long capacity)Set the number of write capacity for this table.protected ObjecttoJsonObj()StringtoString()Return a string representation of the object.ProvisionedThroughputwithReadCapacityUnits(Long capacity)Set the number of read capacity for this table.ProvisionedThroughputwithWriteCapacityUnits(Long capacity)Set the number of write capacity for this table.
-
-
-
方法详细资料
-
getReadCapacityUnits
public Long getReadCapacityUnits()
Get the number of read capacity for this table.- 返回:
- The number of read capacity for this table, the type is in long type.
-
withReadCapacityUnits
public ProvisionedThroughput withReadCapacityUnits(Long capacity)
Set the number of read capacity for this table.- 参数:
capacity- The number of read capacity for this table, the type is in long type.- 返回:
- A reference to this object so that method calls can be chained together.
-
setReadCapacityUnits
public void setReadCapacityUnits(Long capacity)
Set the number of read capacity for this table.- 参数:
capacity- The number of read capacity for this table, the type is in long type.
-
withWriteCapacityUnits
public ProvisionedThroughput withWriteCapacityUnits(Long capacity)
Set the number of write capacity for this table.- 参数:
capacity- The number of write capacity for this table, the type is in long type.- 返回:
- A reference to this object so that method calls can be chained together.
-
setWriteCapacityUnits
public void setWriteCapacityUnits(Long capacity)
Set the number of write capacity for this table.- 参数:
capacity- The number of write capacity for this table, the type is in long type.
-
getWriteCapacityUnits
public Long getWriteCapacityUnits()
Get the number of write capacity for this table.- 返回:
- The number of write capacity for this table, the type is in long type.
-
toString
public String toString()
Return a string representation of the object.
-
toJsonObj
protected Object toJsonObj()
-
-