public BatchDeletePartitionRequest withPartitionsToDelete(java.util.Collection<PartitionValueList> partitionsToDelete) {
        setPartitionsToDelete(partitionsToDelete);
        return this;
    }
<p>
A list of <code>PartitionInput</code> structures that define the partitions to be deleted.
</p>

@param partitionsToDelete
       A list of <code>PartitionInput</code> structures that define the partitions to be deleted.
@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/BatchDeletePartitionRequest.java