类 DeleteRequest
- java.lang.Object
-
- com.baidubce.services.moladb.model.DeleteRequest
-
- 所有已实现的接口:
WriteRequest
public class DeleteRequest extends Object implements WriteRequest
Represents the input of a DeleteItem operation.
-
-
构造器概要
构造器 构造器 说明 DeleteRequest()Constructs a new DeleteRequest object.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 KeygetKey()Get the Key object of an attribute, which waits to be deleted.voidsetKey(Key key)Set the Key object to be deleted for this object.protected Map<String,Object>toJsonObj()StringtoString()Return a string representation of the object.DeleteRequestwithKey(Key key)Set the Key object to be deleted for this object.
-
-
-
方法详细资料
-
withKey
public DeleteRequest withKey(Key key)
Set the Key object to be deleted for this object.- 参数:
key- The Key object to be deleted for this object, the type is in Key type.- 返回:
- Returns a reference to the object so that method calls can be chained together.
-
setKey
public void setKey(Key key)
Set the Key object to be deleted for this object.- 参数:
key- The Key object to be deleted for this object.
-
getKey
public Key getKey()
Get the Key object of an attribute, which waits to be deleted.- 返回:
- The Key object of an attribute, which waits to be deleted.
-
toString
public String toString()
Return a string representation of the object.- 指定者:
toString在接口中WriteRequest- 覆盖:
toString在类中Object- 返回:
- A string representation of the object.
-
-