Class DeleteIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.DeleteIndexTemplateRequest
public class DeleteIndexTemplateRequest extends RequestBase
The provided <index-template> may contain multiple template names
separated by a comma. If multiple template names are specified then there is
no wildcard support and the provided names should match completely with
existing templates.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteIndexTemplateRequest.Builder
Builder forDeleteIndexTemplateRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse,ErrorResponse>
_ENDPOINT
Endpoint "indices.delete_index_template
". -
Method Summary
Modifier and Type Method Description Time
masterTimeout()
Period to wait for a connection to the master node.java.util.List<java.lang.String>
name()
Required - Comma-separated list of index template names used to limit the request.static DeleteIndexTemplateRequest
of(java.util.function.Function<DeleteIndexTemplateRequest.Builder,ObjectBuilder<DeleteIndexTemplateRequest>> fn)
Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteIndexTemplateRequest,DeleteIndexTemplateResponse,ErrorResponse> _ENDPOINTEndpoint "indices.delete_index_template
".
-
-
Method Details
-
of
public static DeleteIndexTemplateRequest of(java.util.function.Function<DeleteIndexTemplateRequest.Builder,ObjectBuilder<DeleteIndexTemplateRequest>> fn) -
masterTimeout
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.API name:
master_timeout
-
name
public final java.util.List<java.lang.String> name()Required - Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-