public Service withCategories(java.util.Collection<Category> categories) {
        setCategories(categories);
        return this;
    }
<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 Amazon Web Services Support when you call
<a>CreateCase</a>.
</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 Amazon Web Services Support when
       you call <a>CreateCase</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-support/src/main/java/com/amazonaws/services/support/model/Service.java