Class DeleteIndexRequest

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

public class DeleteIndexRequest
extends RequestBase
Deletes an index.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DeleteIndexRequest of​(java.util.function.Function<DeleteIndexRequest.Builder,​ObjectBuilder<DeleteIndexRequest>> fn)
    • allowNoIndices

      @Nullable public final java.lang.Boolean allowNoIndices()
      Ignore if a wildcard expression resolves to no concrete indices (default: false)

      API name: allow_no_indices

    • expandWildcards

      public final java.util.List<ExpandWildcard> expandWildcards()
      Whether wildcard expressions should get expanded to open, closed, or hidden indices

      API name: expand_wildcards

    • ignoreUnavailable

      @Nullable public final java.lang.Boolean ignoreUnavailable()
      Ignore unavailable indexes (default: false)

      API name: ignore_unavailable

    • index

      public final java.util.List<java.lang.String> index()
      Required - A comma-separated list of indices to delete; use _all or * string to delete all indices

      API name: index

    • masterTimeout

      @Nullable public final Time masterTimeout()
      Specify timeout for connection to master

      API name: master_timeout

    • timeout

      @Nullable public final Time timeout()
      Explicit operation timeout

      API name: timeout