public AppMonitorConfiguration withExcludedPages(String... excludedPages) {
        if (this.excludedPages == null) {
            setExcludedPages(new java.util.ArrayList<String>(excludedPages.length));
        }
        for (String ele : excludedPages) {
            this.excludedPages.add(ele);
        }
        return this;
    }
<p>
A list of URLs in your website or application to exclude from RUM data collection.
</p>
<p>
You can't include both <code>ExcludedPages</code> and <code>IncludedPages</code> in the same operation.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExcludedPages(java.util.Collection)} or {@link #withExcludedPages(java.util.Collection)} if you want
to override the existing values.
</p>

@param excludedPages
       A list of URLs in your website or application to exclude from RUM data collection.</p>
       <p>
       You can't include both <code>ExcludedPages</code> and <code>IncludedPages</code> in the same operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/AppMonitorConfiguration.java