Module org.elasticsearch.server
Class RemoveIndexBlockRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<RemoveIndexBlockRequest,RemoveIndexBlockResponse>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<RemoveIndexBlockRequest,RemoveIndexBlockResponse,RemoveIndexBlockRequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<RemoveIndexBlockRequest,RemoveIndexBlockResponse,RemoveIndexBlockRequestBuilder>
org.elasticsearch.action.admin.indices.readonly.RemoveIndexBlockRequestBuilder
- All Implemented Interfaces:
RequestBuilder<RemoveIndexBlockRequest,RemoveIndexBlockResponse>
public class RemoveIndexBlockRequestBuilder
extends AcknowledgedRequestBuilder<RemoveIndexBlockRequest,RemoveIndexBlockResponse,RemoveIndexBlockRequestBuilder>
Builder for remove index block request
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request -
Constructor Summary
ConstructorsConstructorDescriptionRemoveIndexBlockRequestBuilder(ElasticsearchClient client, TimeValue masterTimeout, TimeValue ackTimeout, IndexMetadata.APIBlock block, String... indices) -
Method Summary
Modifier and TypeMethodDescriptionsetIndices(String... indices) Sets the indices to be unblockedsetIndicesOptions(IndicesOptions indicesOptions) Specifies what type of requested indices to ignore and how to deal with wildcard expressions.Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestBuilder
setTimeoutMethods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout
-
Constructor Details
-
RemoveIndexBlockRequestBuilder
public RemoveIndexBlockRequestBuilder(ElasticsearchClient client, TimeValue masterTimeout, TimeValue ackTimeout, IndexMetadata.APIBlock block, String... indices)
-
-
Method Details
-
setIndices
Sets the indices to be unblocked- Parameters:
indices- the indices to be unblocked- Returns:
- the request itself
-
setIndicesOptions
Specifies what type of requested indices to ignore and how to deal with wildcard expressions. For example indices that don't exist.- Parameters:
indicesOptions- the desired behaviour regarding indices to ignore and wildcard indices expressions- Returns:
- the request itself
-