类 ProvisionedThroughputDescription
- java.lang.Object
-
- com.baidubce.services.moladb.model.ProvisionedThroughputDescription
-
public class ProvisionedThroughputDescription extends Object
Represents the provision throughput numbers for a specified table.
-
-
构造器概要
构造器 构造器 说明 ProvisionedThroughputDescription()Constructs a new ProvisionedThroughputDescription object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DategetLastDescreaseDateTime()Get the time of last decreasing provision throughput setting operation.DategetLastIncreaseDateTime()Get the time of last increasing provision throughput setting operation.IntegergetNumberOfDecreasesToday()Get the number of decreasing provision throughput setting operation today.longgetReadCapacityUnits()Get the number of read capacity for this table.longgetWriteCapacityUnits()Get the number of write capacity for this table.voidsetLastDescreaseDateTime(Date time)Set the time of last decreasing provision throughput setting operation.voidsetLastIncreaseDateTime(Date time)Set the time of last increasing provision throughput setting operation.voidsetNumberOfDecreasesToday(Integer count)Set the number of decreasing provision throughput setting operation today.voidsetReadCapacityUnits(Long capacity)Set the number of read capacity for this table.voidsetWriteCapacityUnits(Long capacity)Set the number of write capacity for this table.
-
-
-
方法详细资料
-
getLastDescreaseDateTime
public Date getLastDescreaseDateTime()
Get the time of last decreasing provision throughput setting operation.- 返回:
- The time of last decreasing provision throughput setting operation, the type is in Date type.
-
setLastDescreaseDateTime
public void setLastDescreaseDateTime(Date time)
Set the time of last decreasing provision throughput setting operation.- 参数:
time- The time of last decreasing provision throughput setting operation, the type is Date.
-
getLastIncreaseDateTime
public Date getLastIncreaseDateTime()
Get the time of last increasing provision throughput setting operation.- 返回:
- The time of last increasing provision throughput setting operation, the type is in Date type.
-
setLastIncreaseDateTime
public void setLastIncreaseDateTime(Date time)
Set the time of last increasing provision throughput setting operation.- 参数:
time- The time of last increasing provision throughput setting operation, the type is Date.
-
getNumberOfDecreasesToday
public Integer getNumberOfDecreasesToday()
Get the number of decreasing provision throughput setting operation today.- 返回:
- The number of decreasing provision throughput setting operation today.
-
setNumberOfDecreasesToday
public void setNumberOfDecreasesToday(Integer count)
Set the number of decreasing provision throughput setting operation today.- 参数:
count- The number of decreasing provision throughput setting operation today.
-
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.
-
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.
-
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.- 抛出:
IllegalArgumentException- if the number of write capacity is not great than 0.
-
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.- 抛出:
IllegalArgumentException- if the number of write capacity is not great than 0.
-
-