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 String
cause()
User defined reason for dry-run creating the new template for simulation purposesfinal Boolean
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 onefinal Boolean
If true, returns all relevant default configurations for the index template.final Time
Period to wait for a connection to the master node.final String
name()
Required - Name of the index to simulatestatic SimulateIndexTemplateRequest
Methods 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
-