Class GetIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetIndexTemplateRequest
Get index templates. Get information about one or more index templates.
- 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<GetIndexTemplateRequest,GetIndexTemplateResponse, ErrorResponse> Endpoint "indices.get_index_template". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIf true, returns settings in flat format.final BooleanIf true, returns all relevant default configurations for the index template.final Booleanlocal()Deprecated.9.0.0 This parameter has no effect, is now deprecated, and will be removed in a future version.final TimePeriod to wait for a connection to the master node.final Stringname()Name of index template to retrieve.static GetIndexTemplateRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<GetIndexTemplateRequest,GetIndexTemplateResponse, _ENDPOINTErrorResponse> Endpoint "indices.get_index_template".
-
-
Method Details
-
of
public static GetIndexTemplateRequest of(Function<GetIndexTemplateRequest.Builder, ObjectBuilder<GetIndexTemplateRequest>> fn) -
flatSettings
If true, returns settings in flat format.API name:
flat_settings -
includeDefaults
If true, returns all relevant default configurations for the index template.API name:
include_defaults -
local
Deprecated.9.0.0 This parameter has no effect, is now deprecated, and will be removed in a future version.If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node.API name:
local -
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
Name of index template to retrieve. Wildcard (*) expressions are supported.API name:
name
-