code: public GetBotAliasesResult withBotAliases(BotAliasMetadata... botAliases) {
          if (this.botAliases == null) {
              setBotAliases(new java.util.ArrayList<BotAliasMetadata>(botAliases.length));
          }
          for (BotAliasMetadata ele : botAliases) {
              this.botAliases.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <code>BotAliasMetadata</code> objects, each describing a bot alias.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBotAliases(java.util.Collection)} or {@link #withBotAliases(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param botAliases
  An array of <code>BotAliasMetadata</code> objects, each describing a bot alias.
  @return Returns a reference to this object so that method calls can be chained together.