public StartQueryRequest withFilterParameters(FilterParameter... filterParameters) {
        if (this.filterParameters == null) {
            setFilterParameters(new java.util.ArrayList<FilterParameter>(filterParameters.length));
        }
        for (FilterParameter ele : filterParameters) {
            this.filterParameters.add(ele);
        }
        return this;
    }
<p>
The <code>FilterParameters</code> field that you use with Amazon CloudWatch Internet Monitor queries is a string
the defines how you want a query to be filtered. The filter parameters that you can specify depend on the query
type, since each query type returns a different set of Internet Monitor data.
</p>
<p>
For more information about specifying filter parameters, see <a href=
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html"
>Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet Monitor User
Guide.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFilterParameters(java.util.Collection)} or {@link #withFilterParameters(java.util.Collection)} if you
want to override the existing values.
</p>

@param filterParameters
       The <code>FilterParameters</code> field that you use with Amazon CloudWatch Internet Monitor queries is a
       string the defines how you want a query to be filtered. The filter parameters that you can specify depend
       on the query type, since each query type returns a different set of Internet Monitor data.</p>
       <p>
       For more information about specifying filter parameters, see <a href=
       "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html"
       >Using the Amazon CloudWatch Internet Monitor query interface</a> in the Amazon CloudWatch Internet
       Monitor User Guide.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-internetmonitor/src/main/java/com/amazonaws/services/internetmonitor/model/StartQueryRequest.java