Class DeleteRuleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteRuleRequest.Builder>
co.elastic.clients.elasticsearch.query_rules.DeleteRuleRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteRuleRequest.Builder>
,ObjectBuilder<DeleteRuleRequest>
- Enclosing class:
- DeleteRuleRequest
public static class DeleteRuleRequest.Builder
extends RequestBase.AbstractBuilder<DeleteRuleRequest.Builder>
implements ObjectBuilder<DeleteRuleRequest>
Builder for
DeleteRuleRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDeleteRuleRequest
.Required - The unique identifier of the query rule within the specified ruleset to deleteRequired - The unique identifier of the query ruleset containing the rule to deleteprotected DeleteRuleRequest.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
-
ruleId
Required - The unique identifier of the query rule within the specified ruleset to deleteAPI name:
rule_id
-
rulesetId
Required - The unique identifier of the query ruleset containing the rule to deleteAPI name:
ruleset_id
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DeleteRuleRequest.Builder>
-
build
Builds aDeleteRuleRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteRuleRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-