Class DetectionRule.Builder
java.lang.Object
org.elasticsearch.client.ml.job.config.DetectionRule.Builder
- Enclosing class:
- DetectionRule
public static class DetectionRule.Builder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Builder(java.util.List<RuleCondition> conditions)Builder(RuleScope.Builder scope) -
Method Summary
Modifier and Type Method Description DetectionRulebuild()DetectionRule.BuildersetActions(java.util.EnumSet<RuleAction> actions)DetectionRule.BuildersetActions(java.util.List<java.lang.String> actions)DetectionRule.BuildersetActions(RuleAction... actions)DetectionRule.BuildersetConditions(java.util.List<RuleCondition> conditions)DetectionRule.BuildersetScope(RuleScope scope)