Class AddIndexBlockRequestBuilder


Builder for add index block request
  • Constructor Details

  • Method Details

    • setIndices

      public AddIndexBlockRequestBuilder setIndices(String... indices)
      Sets the indices to be blocked
      Parameters:
      indices - the indices to be blocked
      Returns:
      the request itself
    • setIndicesOptions

      public AddIndexBlockRequestBuilder setIndicesOptions(IndicesOptions indicesOptions)
      Specifies what type of requested indices to ignore and wildcard indices expressions For example indices that don't exist.
      Parameters:
      indicesOptions - the desired behaviour regarding indices to ignore and indices wildcard expressions
      Returns:
      the request itself