/** * <p> * A map of attribute name to attribute values, representing the primary key of the item to be written by * <code>PutItem</code>. 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 that are part of an index key * schema for the table, their types must match the index key schema. * </p> * * @param item * A map of attribute name to attribute values, representing the primary key of the item to be written by * <code>PutItem</code>. 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 that are part of an * index key schema for the table, their types must match the index key schema. * @return Returns a reference to this object so that method calls can be chained together. */ public Put withItem(java.util.Map<String, AttributeValue> item) { setItem(item); return this; }
if (context.testExpression("Item", targetDepth)) { context.nextToken(); put.setItem(new MapUnmarshaller<String, AttributeValue>(context.getUnmarshaller(String.class), AttributeValueJsonUnmarshaller.getInstance()) .unmarshall(context));
/** * <p> * A map of attribute name to attribute values, representing the primary key of the item to be written by * <code>PutItem</code>. 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 that are part of an index key * schema for the table, their types must match the index key schema. * </p> * * @param item * A map of attribute name to attribute values, representing the primary key of the item to be written by * <code>PutItem</code>. 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 that are part of an * index key schema for the table, their types must match the index key schema. * @return Returns a reference to this object so that method calls can be chained together. */ public Put withItem(java.util.Map<String, AttributeValue> item) { setItem(item); return this; }
if (context.testExpression("Item", targetDepth)) { context.nextToken(); put.setItem(new MapUnmarshaller<String, AttributeValue>(context.getUnmarshaller(String.class), AttributeValueJsonUnmarshaller.getInstance()) .unmarshall(context));