public DisableInsightRulesRequest withRuleNames(java.util.Collection<String> ruleNames) {
        setRuleNames(ruleNames);
        return this;
    }
<p>
An array of the rule names to disable. If you need to find out the names of your rules, use <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html"
>DescribeInsightRules</a>.
</p>

@param ruleNames
       An array of the rule names to disable. If you need to find out the names of your rules, use <a
       href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeInsightRules.html"
       >DescribeInsightRules</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/DisableInsightRulesRequest.java