public AppMonitorConfiguration withFavoritePages(java.util.Collection<String> favoritePages) {
        setFavoritePages(favoritePages);
        return this;
    }
<p>
A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM
console.
</p>

@param favoritePages
       A list of pages in your application that are to be displayed with a "favorite" icon in the CloudWatch RUM
       console.
@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