public AwsWafRegionalRuleGroupDetails withMetricName(String metricName) {
        setMetricName(metricName);
        return this;
    }
<p>
A name for the metrics for this rule group.
</p>

@param metricName
       A name for the metrics for this rule group.
@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/AwsWafRegionalRuleGroupDetails.java