/** * <p> * A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only * alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of the * metric after you create the <code>RuleGroup</code>. * </p> * * @param metricName * A friendly name or description for the metrics for this <code>RuleGroup</code>. The name can contain only * alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. You can't change the name of * the metric after you create the <code>RuleGroup</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRuleGroupRequest withMetricName(String metricName) { setMetricName(metricName); return this; }