code: public ListAliasesResult withAliases(AliasListEntry... aliases) {
          if (this.aliases == null) {
              setAliases(new com.ibm.cloud.objectstorage.internal.SdkInternalList<AliasListEntry>(aliases.length));
          }
          for (AliasListEntry ele : aliases) {
              this.aliases.add(ele);
          }
          return this;
      }
docs: <p>
  A list of key aliases in the user's account.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAliases(java.util.Collection)} or {@link #withAliases(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param aliases
  A list of key aliases in the user's account.
  @return Returns a reference to this object so that method calls can be chained together.