public BatchCreatePartitionRequest withPartitionInputList(PartitionInput... partitionInputList) {
        if (this.partitionInputList == null) {
            setPartitionInputList(new java.util.ArrayList<PartitionInput>(partitionInputList.length));
        }
        for (PartitionInput ele : partitionInputList) {
            this.partitionInputList.add(ele);
        }
        return this;
    }
<p>
A list of <code>PartitionInput</code> structures that define the partitions to be created.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPartitionInputList(java.util.Collection)} or {@link #withPartitionInputList(java.util.Collection)} if
you want to override the existing values.
</p>

@param partitionInputList
       A list of <code>PartitionInput</code> structures that define the partitions to be created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/BatchCreatePartitionRequest.java