Class AddIndexBlockRequestBuilder


public class AddIndexBlockRequestBuilder
extends AcknowledgedRequestBuilder<AddIndexBlockRequest,​AddIndexBlockResponse,​AddIndexBlockRequestBuilder>
Builder for add index block request
  • Constructor Details

  • Method Details

    • setIndices

      public AddIndexBlockRequestBuilder setIndices​(java.lang.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