public void setRuleNames(java.util.Collection<String> ruleNames) {
        if (ruleNames == null) {
            this.ruleNames = null;
            return;
        }

        this.ruleNames = new com.amazonaws.internal.SdkInternalList<String>(ruleNames);
    }
<p>
An array of the rule names to enable. 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 enable. 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>.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/EnableInsightRulesRequest.java