public UpdateCallAnalyticsCategoryRequest withRules(java.util.Collection<Rule> rules) {
        setRules(rules);
        return this;
    }
<p>
The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that
are currently being used in the specified category.
</p>

@param rules
       The rules used for the updated Call Analytics category. The rules you provide in this field replace the
       ones that are currently being used in the specified 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/UpdateCallAnalyticsCategoryRequest.java