Class DeleteRuleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.query_rules.DeleteRuleRequest
Delete a query rule. Delete a query rule within a query ruleset. This is a
 destructive action that is only recoverable by re-adding the same rule with
 the create or update query rule API.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteRuleRequest,DeleteRuleResponse, ErrorResponse> Endpoint "query_rules.delete_rule".
- 
Method SummaryModifier and TypeMethodDescriptionstatic DeleteRuleRequestfinal StringruleId()Required - The unique identifier of the query rule within the specified ruleset to deletefinal StringRequired - The unique identifier of the query ruleset containing the rule to deleteMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTEndpoint "query_rules.delete_rule".
 
- 
- 
Method Details- 
ofpublic static DeleteRuleRequest of(Function<DeleteRuleRequest.Builder, ObjectBuilder<DeleteRuleRequest>> fn) 
- 
ruleIdRequired - The unique identifier of the query rule within the specified ruleset to deleteAPI name: rule_id
- 
rulesetIdRequired - The unique identifier of the query ruleset containing the rule to deleteAPI name: ruleset_id
 
-