Class GetTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetTemplateRequest
Returns an index 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<GetTemplateRequest,GetTemplateResponse, ErrorResponse> Endpoint "indices.get_template". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanReturn settings in flat format (default: false)final BooleanWhether a type should be returned in the body of the mappings.final Booleanlocal()Return local information, do not retrieve the state from master node (default: false)final TimeExplicit operation timeout for connection to master nodename()The comma separated names of the index templatesstatic GetTemplateRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.get_template".
-
-
Method Details
-
of
public static GetTemplateRequest of(Function<GetTemplateRequest.Builder, ObjectBuilder<GetTemplateRequest>> fn) -
flatSettings
Return settings in flat format (default: false)API name:
flat_settings -
includeTypeName
Whether a type should be returned in the body of the mappings.API name:
include_type_name -
local
Return local information, do not retrieve the state from master node (default: false)API name:
local -
masterTimeout
Explicit operation timeout for connection to master nodeAPI name:
master_timeout -
name
The comma separated names of the index templatesAPI name:
name
-