public CreateBotVersionResult withIntents(Intent... intents) {
        if (this.intents == null) {
            setIntents(new java.util.ArrayList<Intent>(intents.length));
        }
        for (Intent 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.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/CreateBotVersionResult.java