protected StatAlert getAlert(Number val) {
    Number[] vals = new Number[1];
    vals[0] = val;
    return new StatAlert(getId(), vals);
  }
This method sets the name of this stat alert definition.

@param name name to be set for this StatAlertDefinition.
geode-core/src/main/java/org/apache/geode/internal/admin/statalerts/SingleAttrDefinitionImpl.java