public void setEnabled(boolean enabled) {
    this.enabled = enabled;
  }
Sets whether this definition is enabled.

@param enabled
         {@code true} if enabled.
ambari-server/src/main/java/org/apache/ambari/server/controller/AlertDefinitionResponse.java