public LensMetric withPillars(java.util.Collection<PillarMetric> pillars) {
        setPillars(pillars);
        return this;
    }
<p>
The metrics for the pillars in a lens.
</p>

@param pillars
       The metrics for the pillars in a lens.
@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/LensMetric.java