public S3KeyFilter withFilterRules(FilterRule... filterRules) {
        setFilterRules(Arrays.asList(filterRules));
        return this;
    }
Convenience varargs method to set the list of {@link FilterRule}s for this
{@link S3KeyFilter} and returns this object for method chaining

@param filterRules
           New {@link FilterRule}s for this {@link S3KeyFilter}
@return This object for method chaining
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/S3KeyFilter.java