Package org.elasticsearch.client.indices
Class IndexTemplatesExistRequest
java.lang.Object
org.elasticsearch.client.indices.GetIndexTemplatesRequest
org.elasticsearch.client.indices.IndexTemplatesExistRequest
- All Implemented Interfaces:
Validatable
public class IndexTemplatesExistRequest extends GetIndexTemplatesRequest
A request to check for the existence of index templates
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
Constructors Constructor Description IndexTemplatesExistRequest(java.lang.String... names)
Create a request to check for the existence of index templates.IndexTemplatesExistRequest(java.util.List<java.lang.String> names)
Create a request to check for the existence of index templates. -
Method Summary
Methods inherited from class org.elasticsearch.client.indices.GetIndexTemplatesRequest
getMasterNodeTimeout, isLocal, names, setLocal, setMasterNodeTimeout, setMasterNodeTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
IndexTemplatesExistRequest
public IndexTemplatesExistRequest(java.lang.String... names)Create a request to check for the existence of index templates. At least one template index name must be provided- Parameters:
names
- the names of templates to check for the existence of
-
IndexTemplatesExistRequest
public IndexTemplatesExistRequest(java.util.List<java.lang.String> names)Create a request to check for the existence of index templates. At least one template index name must be provided- Parameters:
names
- the names of templates to check for the existence of
-