public class DeleteRequest extends Object implements WriteRequest
| Constructor and Description |
|---|
DeleteRequest()
Constructs a new DeleteRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DeleteRequest()
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 WriteRequesttoString in class ObjectCopyright © 2021. All rights reserved.