Class SimulateIndexTemplateRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.SimulateIndexTemplateRequest

public class SimulateIndexTemplateRequest extends RequestBase
Simulate an index. Get the index configuration that would be applied to the specified index from an existing index template.
See Also:
  • Field Details

  • Method Details

    • of

    • cause

      @Nullable public final String cause()
      User defined reason for dry-run creating the new template for simulation purposes

      API name: cause

    • create

      @Nullable public final 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 one

      API name: create

    • includeDefaults

      @Nullable public final Boolean includeDefaults()
      If true, returns all relevant default configurations for the index template.

      API name: include_defaults

    • masterTimeout

      @Nullable public final Time 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

      public final String name()
      Required - Name of the index to simulate

      API name: name