Class GetTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.GetTemplateRequest
public class GetTemplateRequest extends RequestBase
Returns an index template.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetTemplateRequest.BuilderBuilder forGetTemplateRequest.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<GetTemplateRequest,GetTemplateResponse,ErrorResponse>_ENDPOINTEndpoint "indices.get_template". -
Method Summary
Modifier and Type Method Description java.lang.BooleanflatSettings()Return settings in flat format (default: false)java.lang.Booleanlocal()Return local information, do not retrieve the state from master node (default: false)TimemasterTimeout()Explicit operation timeout for connection to master nodejava.util.List<java.lang.String>name()The comma separated names of the index templatesstatic GetTemplateRequestof(java.util.function.Function<GetTemplateRequest.Builder,ObjectBuilder<GetTemplateRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "indices.get_template".
-
-
Method Details
-
of
public static GetTemplateRequest of(java.util.function.Function<GetTemplateRequest.Builder,ObjectBuilder<GetTemplateRequest>> fn) -
flatSettings
@Nullable public final java.lang.Boolean flatSettings()Return settings in flat format (default: false)API name:
flat_settings -
local
@Nullable public final java.lang.Boolean 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
public final java.util.List<java.lang.String> name()The comma separated names of the index templatesAPI name:
name
-