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 Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeleteRuleRequest,
DeleteRuleResponse, ErrorResponse> Endpoint "query_rules.delete_rule
". -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteRuleRequest
final String
ruleId()
Required - The unique identifier of the query rule within the specified ruleset to deletefinal String
Required - The unique identifier of the query ruleset containing the rule to deleteMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "query_rules.delete_rule
".
-
-
Method Details
-
of
public static DeleteRuleRequest of(Function<DeleteRuleRequest.Builder, ObjectBuilder<DeleteRuleRequest>> fn) -
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
-