public ConsolidatedReportMetric withLenses(java.util.Collection<LensMetric> lenses) {
        setLenses(lenses);
        return this;
    }
<p>
The metrics for the lenses in the workload.
</p>

@param lenses
       The metrics for the lenses in the workload.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/ConsolidatedReportMetric.java