public GetEventDataStoreResult withPartitionKeys(PartitionKey... partitionKeys) {
        if (this.partitionKeys == null) {
            setPartitionKeys(new com.amazonaws.internal.SdkInternalList<PartitionKey>(partitionKeys.length));
        }
        for (PartitionKey ele : partitionKeys) {
            this.partitionKeys.add(ele);
        }
        return this;
    }
<p>
The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake
organizes event data into partitions based on values derived from partition 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
       The partition keys for the event data store. To improve query performance and efficiency, CloudTrail Lake
       organizes event data into partitions based on values derived from partition keys.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/GetEventDataStoreResult.java