Class GetIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetIndexTemplateRequest
Returns an index template.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<GetIndexTemplateRequest,
GetIndexTemplateResponse, ErrorResponse> Endpoint "indices.get_index_template
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
If true, returns settings in flat format.final Boolean
If true, a mapping type is expected in the body of mappings.final Boolean
local()
If true, the request retrieves information from the local node only.final Time
Period to wait for a connection to the master node.final String
name()
Comma-separated list of index template names used to limit the request.static GetIndexTemplateRequest
Methods 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
-
includeTypeName
If true, a mapping type is expected in the body of mappings.API name:
include_type_name
-
local
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
Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-