/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.dynamodbv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* Represents the input of a BatchWriteItem operation. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class BatchWriteItemRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* A map of one or more table names and, for each table, a list of operations to be performed ( * DeleteRequest or PutRequest). Each element in the map consists of the following: *

* */ private java.util.Map> requestItems; private String returnConsumedCapacity; /** *

* Determines whether item collection metrics are returned. If set to SIZE, the response includes * statistics about item collections, if any, that were modified during the operation are returned in the response. * If set to NONE (the default), no statistics are returned. *

*/ private String returnItemCollectionMetrics; /** * Default constructor for BatchWriteItemRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize the object after creating it. */ public BatchWriteItemRequest() { } /** * Constructs a new BatchWriteItemRequest object. Callers should use the setter or fluent setter (with...) methods * to initialize any additional object members. * * @param requestItems * A map of one or more table names and, for each table, a list of operations to be performed ( * DeleteRequest or PutRequest). Each element in the map consists of the * following:

*