Class DeleteScriptRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.DeleteScriptRequest
Delete a script or search template. Deletes a stored script or search
template.
- 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<DeleteScriptRequest,
DeleteScriptResponse, ErrorResponse> Endpoint "delete_script
". -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "delete_script
".
-
-
Method Details
-
of
public static DeleteScriptRequest of(Function<DeleteScriptRequest.Builder, ObjectBuilder<DeleteScriptRequest>> fn) -
id
Required - The identifier for the stored script or search template.API name:
id
-
masterTimeout
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. It can also be set to-1
to indicate that the request should never timeout.API name:
master_timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. It can also be set to-1
to indicate that the request should never timeout.API name:
timeout
-