@Generated(value="org.openapitools.codegen.languages.JavaSmartxClientCodegen") public class AlertRule extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SERIALIZED_NAME_CLUSTER |
static String |
SERIALIZED_NAME_CUSTOMIZED |
static String |
SERIALIZED_NAME_DISABLED |
static String |
SERIALIZED_NAME_GLOBAL_ALERT_RULE |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LOCAL_ID |
static String |
SERIALIZED_NAME_THRESHOLDS |
| 构造器和说明 |
|---|
AlertRule() |
public static final String SERIALIZED_NAME_GLOBAL_ALERT_RULE
public AlertRule cluster(NestedCluster cluster)
@Nullable public NestedCluster getCluster()
public void setCluster(NestedCluster cluster)
public void setCustomized(Boolean customized)
public void setDisabled(Boolean disabled)
public AlertRule globalAlertRule(NestedGlobalAlertRule globalAlertRule)
@Nonnull public NestedGlobalAlertRule getGlobalAlertRule()
public void setGlobalAlertRule(NestedGlobalAlertRule globalAlertRule)
public void setId(String id)
public void setLocalId(String localId)
public AlertRule thresholds(List<NestedThresholds> thresholds)
public AlertRule addThresholdsItem(NestedThresholds thresholdsItem)
@Nonnull public List<NestedThresholds> getThresholds()
public void setThresholds(List<NestedThresholds> thresholds)
Copyright © 2025. All rights reserved.