|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.moladb.model.UpdateItemRequest
public class UpdateItemRequest
Represents the input of a UpdateItem operation.
Constructor Summary | |
---|---|
UpdateItemRequest()
Constructs a new UpdateItemRequest object. |
Method Summary | |
---|---|
Map<String,AttributeValueUpdate> |
getAttributeUpdates()
Get new attribute value with corresponding attribute name which will be updated. |
Key |
getKey()
Get key of the update item request. |
String |
getTableName()
Get the name of the table containing the item to update. |
void |
setAttributeUpdates(Map<String,AttributeValueUpdate> attributes)
Set new attribute value with corresponding attribute name which will be updated. |
void |
setKey(Key key)
Set the Key of the item to be updated with the given Key. |
void |
setTableName(String name)
Set the name of the table containing the item to update. |
String |
toString()
Return a string representation of request information. |
UpdateItemRequest |
withAttributeUpdates(Map<String,AttributeValueUpdate> attributes)
Set new attribute value with corresponding attribute name which will be updated. |
UpdateItemRequest |
withKey(Key key)
Set the Key of the item to be updated with the given Key. |
UpdateItemRequest |
withRequestCredentials(BceCredentials credentials)
|
UpdateItemRequest |
withTableName(String name)
Set the name of the table containing the item to update. |
Methods inherited from class com.baidubce.model.AbstractBceRequest |
---|
getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateItemRequest()
Method Detail |
---|
public void setTableName(String name)
name
- The name of the table containing the item to update.public String getTableName()
public UpdateItemRequest withTableName(String name)
name
- The name of the table containing the item to update.
public UpdateItemRequest withKey(Key key)
key
- The Key of the item to be updated.
public void setKey(Key key)
key
- The Key of the item to be updated.public Key getKey()
public String toString()
toString
in class Object
public void setAttributeUpdates(Map<String,AttributeValueUpdate> attributes)
attributes
- A map of attributes to update in an item.public UpdateItemRequest withAttributeUpdates(Map<String,AttributeValueUpdate> attributes)
attributes
- A map of attributes to update in an item.
public Map<String,AttributeValueUpdate> getAttributeUpdates()
public UpdateItemRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |