Package org.elasticsearch.client.indices
Class SimulateIndexTemplateRequest
java.lang.Object
org.elasticsearch.client.TimedRequest
org.elasticsearch.client.indices.SimulateIndexTemplateRequest
- All Implemented Interfaces:
Validatable
A request to simulate matching a provided index name and an optional new index template against the existing index templates.
-
Field Summary
Fields inherited from class org.elasticsearch.client.TimedRequest
DEFAULT_ACK_TIMEOUT, DEFAULT_MASTER_NODE_TIMEOUT
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the index name for which we simulate the index template matching.Set the index name to simulate template matching against the index templates in the system.An optional new template request will be part of the index template simulation.indexTemplateV2Request
(PutComposableIndexTemplateRequest indexTemplateV2Request) Optionally, define a new template request which will included in the index simulation as if it was an index template stored in the system.Methods inherited from class org.elasticsearch.client.TimedRequest
masterNodeTimeout, setMasterTimeout, setTimeout, timeout
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
-
SimulateIndexTemplateRequest
-
-
Method Details
-
indexName
Return the index name for which we simulate the index template matching. -
indexName
Set the index name to simulate template matching against the index templates in the system. -
indexTemplateV2Request
An optional new template request will be part of the index template simulation. -
indexTemplateV2Request
public SimulateIndexTemplateRequest indexTemplateV2Request(@Nullable PutComposableIndexTemplateRequest indexTemplateV2Request) Optionally, define a new template request which will included in the index simulation as if it was an index template stored in the system. The new template will be validated just as a regular, standalone, live, new index template request.
-