code: public Service withCategories(Category... categories) {
          if (this.categories == null) {
              setCategories(new com.amazonaws.internal.SdkInternalList<Category>(categories.length));
          }
          for (Category ele : categories) {
              this.categories.add(ele);
          }
          return this;
      }
docs: <p>
  A list of categories that describe the type of support issue a case describes. Categories consist of a category
  name and a category code. Category names and codes are passed to AWS Support when you call <a>CreateCase</a>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCategories(java.util.Collection)} or {@link #withCategories(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param categories
  A list of categories that describe the type of support issue a case describes. Categories consist of a
  category name and a category code. Category names and codes are passed to AWS Support when you call
  <a>CreateCase</a>.
  @return Returns a reference to this object so that method calls can be chained together.