public LensMetric withPillars(PillarMetric... pillars) {
        if (this.pillars == null) {
            setPillars(new java.util.ArrayList<PillarMetric>(pillars.length));
        }
        for (PillarMetric ele : pillars) {
            this.pillars.add(ele);
        }
        return this;
    }
<p>
The metrics for the pillars in a lens.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPillars(java.util.Collection)} or {@link #withPillars(java.util.Collection)} if you want to override
the existing values.
</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