Class QueryRulesetMatchedRule.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<QueryRulesetMatchedRule.Builder>
co.elastic.clients.elasticsearch.query_rules.test.QueryRulesetMatchedRule.Builder
- All Implemented Interfaces:
WithJson<QueryRulesetMatchedRule.Builder>
,ObjectBuilder<QueryRulesetMatchedRule>
- Enclosing class:
- QueryRulesetMatchedRule
public static class QueryRulesetMatchedRule.Builder
extends WithJsonObjectBuilderBase<QueryRulesetMatchedRule.Builder>
implements ObjectBuilder<QueryRulesetMatchedRule>
Builder for
QueryRulesetMatchedRule
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aQueryRulesetMatchedRule
.Required - Rule unique identifier within that rulesetRequired - Ruleset unique identifierprotected QueryRulesetMatchedRule.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rulesetId
Required - Ruleset unique identifierAPI name:
ruleset_id
-
ruleId
Required - Rule unique identifier within that rulesetAPI name:
rule_id
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<QueryRulesetMatchedRule.Builder>
-
build
Builds aQueryRulesetMatchedRule
.- Specified by:
build
in interfaceObjectBuilder<QueryRulesetMatchedRule>
- Throws:
NullPointerException
- if some of the required fields are null.
-