public GetBotsResult withBots(BotMetadata... bots) {
        if (this.bots == null) {
            setBots(new java.util.ArrayList<BotMetadata>(bots.length));
        }
        for (BotMetadata ele : bots) {
            this.bots.add(ele);
        }
        return this;
    }
<p>
An array of <code>botMetadata</code> objects, with one entry for each bot.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBots(java.util.Collection)} or {@link #withBots(java.util.Collection)} if you want to override the
existing values.
</p>

@param bots
       An array of <code>botMetadata</code> objects, with one entry for each bot.
@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/GetBotsResult.java