public GetBuiltinIntentsResult withIntents(BuiltinIntentMetadata... intents) {
        if (this.intents == null) {
            setIntents(new java.util.ArrayList<BuiltinIntentMetadata>(intents.length));
        }
        for (BuiltinIntentMetadata ele : intents) {
            this.intents.add(ele);
        }
        return this;
    }
<p>
An array of <code>builtinIntentMetadata</code> objects, one for each intent in the response.
</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>builtinIntentMetadata</code> objects, one for each intent in the response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/GetBuiltinIntentsResult.java