public CurrentMetricResult withCollections(CurrentMetricData... collections) {
        if (this.collections == null) {
            setCollections(new java.util.ArrayList<CurrentMetricData>(collections.length));
        }
        for (CurrentMetricData ele : collections) {
            this.collections.add(ele);
        }
        return this;
    }
public CurrentMetricResult withCollections ( CurrentMetricData ... collections ) { if ( this . collections == null ) { setCollections ( new java . util . ArrayList < CurrentMetricData > ( collections . length ) ) ; } for ( CurrentMetricData ele : collections ) { this . collections . add ( ele ) ; } return this ; }
<p>
The <code>Collections</code> for the <code>CurrentMetricResult</code> object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCollections(java.util.Collection)} or {@link #withCollections(java.util.Collection)} if you want to
override the existing values.
</p>

@param collections
The <code>Collections</code> for the <code>CurrentMetricResult</code> object.
@return Returns a reference to this object so that method calls can be chained together.