public DimensionGroup withDimensions(String... dimensions) {
        if (this.dimensions == null) {
            setDimensions(new java.util.ArrayList<String>(dimensions.length));
        }
        for (String ele : dimensions) {
            this.dimensions.add(ele);
        }
        return this;
    }
public DimensionGroup withDimensions ( String ... dimensions ) { if ( this . dimensions == null ) { setDimensions ( new java . util . ArrayList < String > ( dimensions . length ) ) ; } for ( String ele : dimensions ) { this . dimensions . add ( ele ) ; } return this ; }
<p>
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies that
all of the dimensions in the group were requested, or are present in the response.
</p>
<p>
Valid values for elements in the <code>Dimensions</code> array are:
</p>
<ul>
<li>
<p>
db.user.id
</p>
</li>
<li>
<p>
db.user.name
</p>
</li>
<li>
<p>
db.host.id
</p>
</li>
<li>
<p>
db.host.name
</p>
</li>
<li>
<p>
db.sql.id
</p>
</li>
<li>
<p>
db.sql.db_id
</p>
</li>
<li>
<p>
db.sql.statement
</p>
</li>
<li>
<p>
db.sql.tokenized_id
</p>
</li>
<li>
<p>
db.sql_tokenized.id
</p>
</li>
<li>
<p>
db.sql_tokenized.db_id
</p>
</li>
<li>
<p>
db.sql_tokenized.statement
</p>
</li>
<li>
<p>
db.wait_event.name
</p>
</li>
<li>
<p>
db.wait_event.type
</p>
</li>
<li>
<p>
db.wait_event_type.name
</p>
</li>
</ul>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDimensions(java.util.Collection)} or {@link #withDimensions(java.util.Collection)} if you want to
override the existing values.
</p>

@param dimensions
A list of specific dimensions from a dimension group. If this parameter is not present, then it signifies
that all of the dimensions in the group were requested, or are present in the response.</p>
<p>
Valid values for elements in the <code>Dimensions</code> array are:
</p>
<ul>
<li>
<p>
db.user.id
</p>
</li>
<li>
<p>
db.user.name
</p>
</li>
<li>
<p>
db.host.id
</p>
</li>
<li>
<p>
db.host.name
</p>
</li>
<li>
<p>
db.sql.id
</p>
</li>
<li>
<p>
db.sql.db_id
</p>
</li>
<li>
<p>
db.sql.statement
</p>
</li>
<li>
<p>
db.sql.tokenized_id
</p>
</li>
<li>
<p>
db.sql_tokenized.id
</p>
</li>
<li>
<p>
db.sql_tokenized.db_id
</p>
</li>
<li>
<p>
db.sql_tokenized.statement
</p>
</li>
<li>
<p>
db.wait_event.name
</p>
</li>
<li>
<p>
db.wait_event.type
</p>
</li>
<li>
<p>
db.wait_event_type.name
</p>
</li>
@return Returns a reference to this object so that method calls can be chained together.