public ListCallAnalyticsCategoriesResult withCategories(CategoryProperties... categories) {
        if (this.categories == null) {
            setCategories(new java.util.ArrayList<CategoryProperties>(categories.length));
        }
        for (CategoryProperties ele : categories) {
            this.categories.add(ele);
        }
        return this;
    }
<p>
Provides detailed information about your Call Analytics categories, including all the rules associated with each
category.
</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
       Provides detailed information about your Call Analytics categories, including all the rules associated
       with each category.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesResult.java