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