public Product withCategories(java.util.Collection<String> categories) {
        setCategories(categories);
        return this;
    }
<p>
The categories assigned to the product.
</p>

@param categories
       The categories assigned to the product.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/Product.java