public GetIntentVersionsResult withIntents(java.util.Collection<IntentMetadata> intents) {
        setIntents(intents);
        return this;
    }
<p>
An array of <code>IntentMetadata</code> objects, one for each numbered version of the intent plus one for the
<code>$LATEST</code> version.
</p>

@param intents
       An array of <code>IntentMetadata</code> objects, one for each numbered version of the intent plus one for
       the <code>$LATEST</code> version.
@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/GetIntentVersionsResult.java