public GovernedCatalogTarget withPartitionKeys(java.util.List<String>... partitionKeys) {
        if (this.partitionKeys == null) {
            setPartitionKeys(new java.util.ArrayList<java.util.List<String>>(partitionKeys.length));
        }
        for (java.util.List<String> ele : partitionKeys) {
            this.partitionKeys.add(ele);
        }
        return this;
    }
<p>
Specifies native partitioning using a sequence of keys.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPartitionKeys(java.util.Collection)} or {@link #withPartitionKeys(java.util.Collection)} if you want
to override the existing values.
</p>

@param partitionKeys
       Specifies native partitioning using a sequence of keys.
@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/GovernedCatalogTarget.java