Class ExistsIndexTemplateRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.ExistsIndexTemplateRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsIndexTemplateRequest>
- Enclosing class:
- ExistsIndexTemplateRequest
public static class ExistsIndexTemplateRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<ExistsIndexTemplateRequest>
Builder for
ExistsIndexTemplateRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ExistsIndexTemplateRequest
build()
Builds aExistsIndexTemplateRequest
.ExistsIndexTemplateRequest.Builder
masterTimeout(Time value)
Period to wait for a connection to the master node.ExistsIndexTemplateRequest.Builder
masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Period to wait for a connection to the master node.ExistsIndexTemplateRequest.Builder
name(java.lang.String value)
Required - Comma-separated list of index template names used to limit the request.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
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
-
masterTimeout
public final ExistsIndexTemplateRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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
Required - Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
name
-
build
Builds aExistsIndexTemplateRequest
.- Specified by:
build
in interfaceObjectBuilder<ExistsIndexTemplateRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-