Class ExistsIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.ExistsIndexTemplateRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class ExistsIndexTemplateRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExistsIndexTemplateRequest.BuilderBuilder forExistsIndexTemplateRequest.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<ExistsIndexTemplateRequest,BooleanResponse,ElasticsearchError>ENDPOINTEndpoint "indices.exists_index_template". -
Constructor Summary
Constructors Constructor Description ExistsIndexTemplateRequest(ExistsIndexTemplateRequest.Builder builder)ExistsIndexTemplateRequest(java.util.function.Function<ExistsIndexTemplateRequest.Builder,ExistsIndexTemplateRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringmasterTimeout()Period to wait for a connection to the master node.java.lang.Stringname()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<ExistsIndexTemplateRequest,BooleanResponse,ElasticsearchError> ENDPOINTEndpoint "indices.exists_index_template".
-
-
Constructor Details
-
ExistsIndexTemplateRequest
-
ExistsIndexTemplateRequest
public ExistsIndexTemplateRequest(java.util.function.Function<ExistsIndexTemplateRequest.Builder,ExistsIndexTemplateRequest.Builder> fn)
-
-
Method Details
-
name
public java.lang.String name()Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.API name:
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
-