类 UpdateTableRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.moladb.model.UpdateTableRequest
-
public class UpdateTableRequest extends AbstractBceRequest
Represents the input of a UpdateTable operation.
-
-
构造器概要
构造器 构造器 说明 UpdateTableRequest()Constructs a new UpdateTableRequest object.UpdateTableRequest(String name)Constructs a new UpdateTableRequest object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ProvisionedThroughputgetProvisionedThroughput()Get the ProvisionedThroughput object used to set provisioned throughput for updating table from this object.StringgetTableName()Get the name of table from this object.voidsetProvisionedThroughput(ProvisionedThroughput provision)Set provisioned throughput for updating table.voidsetTableName(String tableName)Set the name of table for this object.StringtoString()Return a string representation of request information.UpdateTableRequestwithProvisionedThroughput(ProvisionedThroughput provision)Set provisioned throughput for updating table.UpdateTableRequestwithRequestCredentials(BceCredentials credentials)UpdateTableRequestwithTableName(String tableName)Set the name of table for this object.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
构造器详细资料
-
UpdateTableRequest
public UpdateTableRequest()
Constructs a new UpdateTableRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
-
UpdateTableRequest
public UpdateTableRequest(String name)
Constructs a new UpdateTableRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- 参数:
name- The name of table to be updated.
-
-
方法详细资料
-
setTableName
public void setTableName(String tableName)
Set the name of table for this object.- 参数:
tableName- The name of table set for this object.
-
withTableName
public UpdateTableRequest withTableName(String tableName)
Set the name of table for this object.- 参数:
tableName- The name of table set for this object.- 返回:
- A reference to this object so that method calls can be chained together.
-
getTableName
public String getTableName()
Get the name of table from this object.- 返回:
- The name of table got from this object.
-
setProvisionedThroughput
public void setProvisionedThroughput(ProvisionedThroughput provision)
Set provisioned throughput for updating table.- 参数:
provision- The ProvisionedThroughput object used to set provisioned throughput for updating table.
-
withProvisionedThroughput
public UpdateTableRequest withProvisionedThroughput(ProvisionedThroughput provision)
Set provisioned throughput for updating table.- 参数:
provision- The ProvisionedThroughput object used to set provisioned throughput for updating table.- 返回:
- A reference to this object so that method calls can be chained together.
-
getProvisionedThroughput
public ProvisionedThroughput getProvisionedThroughput()
Get the ProvisionedThroughput object used to set provisioned throughput for updating table from this object.- 返回:
- The ProvisionedThroughput object used to set provisioned throughput for updating table from this object.
-
toString
public String toString()
Return a string representation of request information.
-
withRequestCredentials
public UpdateTableRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-