public AssessmentRunFilter withRulesPackageArns(String... rulesPackageArns) {
        if (this.rulesPackageArns == null) {
            setRulesPackageArns(new java.util.ArrayList<String>(rulesPackageArns.length));
        }
        for (String ele : rulesPackageArns) {
            this.rulesPackageArns.add(ele);
        }
        return this;
    }
<p>
For a record to match a filter, the value that is specified for this data type property must be contained in the
list of values of the <b>rulesPackages</b> property of the <a>AssessmentRun</a> data type.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRulesPackageArns(java.util.Collection)} or {@link #withRulesPackageArns(java.util.Collection)} if you
want to override the existing values.
</p>

@param rulesPackageArns
       For a record to match a filter, the value that is specified for this data type property must be contained
       in the list of values of the <b>rulesPackages</b> property of the <a>AssessmentRun</a> data type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/AssessmentRunFilter.java