public class PutRequest
extends java.lang.Object
implements java.io.Serializable
Represents a request to perform a PutItem operation on an item.
| コンストラクタと説明 |
|---|
PutRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
PutRequest |
addItemEntry(java.lang.String key,
AttributeValue value)
A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem.
|
PutRequest |
clearItemEntries()
Removes all the entries added into Item.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,AttributeValue> |
getItem()
A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem.
|
int |
hashCode() |
void |
setItem(java.util.Map<java.lang.String,AttributeValue> item)
A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRequest |
withItem(java.util.Map<java.lang.String,AttributeValue> item)
A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem.
|
public java.util.Map<java.lang.String,AttributeValue> getItem()
public void setItem(java.util.Map<java.lang.String,AttributeValue> item)
item - A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem. All of the table's
primary key attributes must be specified, and their data types must
match those of the table's key schema. If any attributes are present
in the item which are part of an index key schema for the table, their
types must match the index key schema.public PutRequest withItem(java.util.Map<java.lang.String,AttributeValue> item)
Returns a reference to this object so that method calls can be chained together.
item - A map of attribute name to attribute values, representing the primary
key of an item to be processed by PutItem. All of the table's
primary key attributes must be specified, and their data types must
match those of the table's key schema. If any attributes are present
in the item which are part of an index key schema for the table, their
types must match the index key schema.public PutRequest addItemEntry(java.lang.String key, AttributeValue value)
The method adds a new key-value pair into Item parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Item.value - The corresponding value of the entry to be added into Item.public PutRequest clearItemEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object