Class GetIndexTemplateRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.indices.GetIndexTemplateRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetIndexTemplateRequest>
- Enclosing class:
- GetIndexTemplateRequest
public static class GetIndexTemplateRequest.Builder extends java.lang.Object implements ObjectBuilder<GetIndexTemplateRequest>
Builder for
GetIndexTemplateRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetIndexTemplateRequestbuild()Builds aGetIndexTemplateRequest.GetIndexTemplateRequest.BuilderflatSettings(java.lang.Boolean value)If true, returns settings in flat format.GetIndexTemplateRequest.BuilderincludeTypeName(java.lang.Boolean value)If true, a mapping type is expected in the body of mappings.GetIndexTemplateRequest.Builderlocal(java.lang.Boolean value)If true, the request retrieves information from the local node only.GetIndexTemplateRequest.BuildermasterTimeout(java.lang.String value)Period to wait for a connection to the master node.GetIndexTemplateRequest.Buildername(java.lang.String value)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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
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 -
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 -
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 -
build
Builds aGetIndexTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<GetIndexTemplateRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-