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.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<QueryRulesetMatchedRule.Builder>
-
build
Builds aQueryRulesetMatchedRule.- Specified by:
buildin interfaceObjectBuilder<QueryRulesetMatchedRule>- Throws:
NullPointerException- if some of the required fields are null.
-