public PutBotResult withIntents(java.util.Collection<Intent> intents) {
        setIntents(intents);
        return this;
    }
<p>
An array of <code>Intent</code> objects. For more information, see <a>PutBot</a>.
</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/PutBotResult.java