Class FreezeRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.FreezeRequest
All Implemented Interfaces:
ElasticsearchCommonRequest

public final class FreezeRequest
extends RequestBase
  • Field Details

  • Constructor Details

  • Method Details

    • index

      public java.lang.String index()
      Required - The name of the index to freeze

      API name: index

    • allowNoIndices

      @Nullable public java.lang.Boolean allowNoIndices()
      Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all string or when no indices have been specified)

      API name: allow_no_indices

    • expandWildcards

      @Nullable public java.util.List<ExpandWildcardOptions> expandWildcards()
      Whether to expand wildcard expression to concrete indices that are open, closed or both.

      API name: expand_wildcards

    • ignoreUnavailable

      @Nullable public java.lang.Boolean ignoreUnavailable()
      Whether specified concrete indices should be ignored when unavailable (missing or closed)

      API name: ignore_unavailable

    • masterTimeout

      @Nullable public java.lang.String masterTimeout()
      Specify timeout for connection to master

      API name: master_timeout

    • timeout

      @Nullable public java.lang.String timeout()
      Explicit operation timeout

      API name: timeout

    • waitForActiveShards

      @Nullable public jakarta.json.JsonValue waitForActiveShards()
      Sets the number of active shards to wait for before the operation returns.

      API name: wait_for_active_shards