Class SimulateIndexTemplateRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.SimulateIndexTemplateRequest
Simulate an index. Get the index configuration that would be applied to the
specified index from an existing index template.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "indices.simulate_index_template". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringcause()User defined reason for dry-run creating the new template for simulation purposesfinal Booleancreate()Whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing onefinal BooleanIf true, returns all relevant default configurations for the index template.final TimePeriod to wait for a connection to the master node.final Stringname()Required - Name of the index to simulatestatic SimulateIndexTemplateRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<SimulateIndexTemplateRequest,SimulateIndexTemplateResponse, _ENDPOINTErrorResponse> Endpoint "indices.simulate_index_template".
-
-
Method Details
-
of
-
cause
User defined reason for dry-run creating the new template for simulation purposesAPI name:
cause -
create
Whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing oneAPI name:
create -
includeDefaults
If true, returns all relevant default configurations for the index template.API name:
include_defaults -
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 -
name
Required - Name of the index to simulateAPI name:
name
-