Class GetIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetIndexTemplateRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class GetIndexTemplateRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetIndexTemplateRequest.Builder
Builder forGetIndexTemplateRequest
.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<GetIndexTemplateRequest,GetIndexTemplateResponse,ElasticsearchError>
ENDPOINT
Endpoint "indices.get_index_template
". -
Constructor Summary
Constructors Constructor Description GetIndexTemplateRequest(GetIndexTemplateRequest.Builder builder)
GetIndexTemplateRequest(java.util.function.Function<GetIndexTemplateRequest.Builder,GetIndexTemplateRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
flatSettings()
If true, returns settings in flat format.java.lang.Boolean
includeTypeName()
If true, a mapping type is expected in the body of mappings.java.lang.Boolean
local()
If true, the request retrieves information from the local node only.java.lang.String
masterTimeout()
Period to wait for a connection to the master node.java.lang.String
name()
Comma-separated list of index template names used to limit the request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<GetIndexTemplateRequest,GetIndexTemplateResponse,ElasticsearchError> ENDPOINTEndpoint "indices.get_index_template
".
-
-
Constructor Details
-
GetIndexTemplateRequest
-
GetIndexTemplateRequest
public GetIndexTemplateRequest(java.util.function.Function<GetIndexTemplateRequest.Builder,GetIndexTemplateRequest.Builder> fn)
-
-
Method Details
-
name
@Nullable public java.lang.String name()Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-
local
@Nullable public java.lang.Boolean 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
-
flatSettings
@Nullable public java.lang.Boolean flatSettings()If true, returns settings in flat format.API name:
flat_settings
-
includeTypeName
@Nullable public java.lang.Boolean includeTypeName()If true, a mapping type is expected in the body of mappings.API name:
include_type_name
-
masterTimeout
@Nullable public java.lang.String 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
-