Class StreamAlertRuleOperator.StreamAlertRuleUpdater
java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.StreamAlertRuleOperator.StreamAlertRuleUpdater
- Enclosing class:
StreamAlertRuleOperator
- Author:
- ianjones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) detectionMethod(Map<String, Object> detectionMethod) metricSelector(Map<String, Object> metricSelector) resourceSelector(Map<String, Object> resourceSelector) save()type(StreamAlertRuleType type) Sets the alert rule type (specAlertRulePutRequest.type:METRIC_ALERT, which is also the default).
-
Constructor Details
-
StreamAlertRuleUpdater
-
-
Method Details
-
type
Sets the alert rule type (specAlertRulePutRequest.type:METRIC_ALERT, which is also the default).- Parameters:
type- the alert rule type- Returns:
- this updater
-
name
-
description
-
enabled
-
metricSelector
public StreamAlertRuleOperator.StreamAlertRuleUpdater metricSelector(Map<String, Object> metricSelector) -
resourceSelector
public StreamAlertRuleOperator.StreamAlertRuleUpdater resourceSelector(Map<String, Object> resourceSelector) -
detectionMethod
public StreamAlertRuleOperator.StreamAlertRuleUpdater detectionMethod(Map<String, Object> detectionMethod) -
save
-