public ListCisScansFilterCriteria withTargetResourceIdFilters(CisStringFilter... targetResourceIdFilters) {
        if (this.targetResourceIdFilters == null) {
            setTargetResourceIdFilters(new java.util.ArrayList<CisStringFilter>(targetResourceIdFilters.length));
        }
        for (CisStringFilter ele : targetResourceIdFilters) {
            this.targetResourceIdFilters.add(ele);
        }
        return this;
    }
<p>
The list of target resource ID filters.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTargetResourceIdFilters(java.util.Collection)} or
{@link #withTargetResourceIdFilters(java.util.Collection)} if you want to override the existing values.
</p>

@param targetResourceIdFilters
       The list of target resource ID filters.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListCisScansFilterCriteria.java