Class ExistsIndexTemplateRequest.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.ExistsIndexTemplateRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsIndexTemplateRequest>
- Enclosing class:
- ExistsIndexTemplateRequest
public static class ExistsIndexTemplateRequest.Builder extends java.lang.Object implements ObjectBuilder<ExistsIndexTemplateRequest>
Builder for
ExistsIndexTemplateRequest.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsIndexTemplateRequestbuild()Builds aExistsIndexTemplateRequest.ExistsIndexTemplateRequest.BuildermasterTimeout(jakarta.json.JsonValue value)Period to wait for a connection to the master node.ExistsIndexTemplateRequest.Buildername(java.lang.String value)Comma-separated list of index template names used to limit the request.
-
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 -
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 aExistsIndexTemplateRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsIndexTemplateRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-