public GetIntentsResult withIntents(IntentMetadata... intents) {
        if (this.intents == null) {
            setIntents(new java.util.ArrayList<IntentMetadata>(intents.length));
        }
        for (IntentMetadata ele : intents) {
            this.intents.add(ele);
        }
        return this;
    }
public GetIntentsResult withIntents ( IntentMetadata ... intents ) { if ( this . intents == null ) { setIntents ( new java . util . ArrayList < IntentMetadata > ( intents . length ) ) ; } for ( IntentMetadata ele : intents ) { this . intents . add ( ele ) ; } return this ; }
<p>
An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setIntents(java.util.Collection)} or {@link #withIntents(java.util.Collection)} if you want to override
the existing values.
</p>

@param intents
An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.
@return Returns a reference to this object so that method calls can be chained together.