|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.moladb.model.DeleteRequest
public class DeleteRequest
Represents the input of a DeleteItem operation.
Constructor Summary | |
---|---|
DeleteRequest()
Constructs a new DeleteRequest object. |
Method Summary | |
---|---|
Key |
getKey()
Get the Key object of an attribute, which waits to be deleted. |
void |
setKey(Key key)
Set the Key object to be deleted for this object. |
protected Map<String,Object> |
toJsonObj()
|
String |
toString()
Return a string representation of the object. |
DeleteRequest |
withKey(Key key)
Set the Key object to be deleted for this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteRequest()
Method Detail |
---|
public DeleteRequest withKey(Key key)
key
- The Key object to be deleted for this object, the type is in Key type.
public void setKey(Key key)
key
- The Key object to be deleted for this object.public Key getKey()
public String toString()
toString
in interface WriteRequest
toString
in class Object
protected Map<String,Object> toJsonObj()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |