类 DeleteItemRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.moladb.model.DeleteItemRequest
-
public class DeleteItemRequest extends AbstractBceRequest
Represents the input of a DeleteItem operation.
-
-
构造器概要
构造器 构造器 说明 DeleteItemRequest()Constructs a new DeleteItemRequest object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 KeygetKey()The method return the Key that is used to delete the item.StringgetTableName()The method return the table name of this request.voidsetKey(Key key)The method set the Key that used to delete item from the table.voidsetTableName(String tableName)The method set the table name to delete items.StringtoString()Return a string representation of request information.DeleteItemRequestwithKey(Key key)The method set the Key that used to get item from the table.DeleteItemRequestwithRequestCredentials(BceCredentials credentials)DeleteItemRequestwithTableName(String tableName)Set the name of the table from which to delete the item.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withTableName
public DeleteItemRequest withTableName(String tableName)
Set the name of the table from which to delete the item.- 参数:
tableName- The name of the table from which to delete the item.- 返回:
- Returns a reference to the object so that method calls can be chained together.
-
setTableName
public void setTableName(String tableName)
The method set the table name to delete items.- 参数:
tableName- The name of the table where to delete the items.
-
toString
public String toString()
Return a string representation of request information.
-
setKey
public void setKey(Key key)
The method set the Key that used to delete item from the table.- 参数:
key- The key that used to describe the key field.
-
withKey
public DeleteItemRequest withKey(Key key)
The method set the Key that used to get item from the table.- 参数:
key- The key that used to describe the key field.- 返回:
- A reference to this object so that method calls can be chained together
-
getTableName
public String getTableName()
The method return the table name of this request.- 返回:
- Table name of this request.
-
getKey
public Key getKey()
The method return the Key that is used to delete the item.- 返回:
- The Key that is used to locate and delete the item.
-
withRequestCredentials
public DeleteItemRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
-