Class AddBlockRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.AddBlockRequest
Adds a block to an index.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<AddBlockRequest,AddBlockResponse, ErrorResponse> Endpoint "indices.add_block". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhether to ignore if a wildcard indices expression resolves into no concrete indices.final IndicesBlockOptionsblock()Required - The block to add (one of read, write, read_only or metadata)final List<ExpandWildcard>Whether to expand wildcard expression to concrete indices that are open, closed or both.final BooleanWhether specified concrete indices should be ignored when unavailable (missing or closed)final Stringindex()Required - A comma separated list of indices to add a block tofinal TimeSpecify timeout for connection to masterstatic AddBlockRequestfinal Timetimeout()Explicit operation timeoutMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "indices.add_block".
-
-
Method Details
-
of
public static AddBlockRequest of(Function<AddBlockRequest.Builder, ObjectBuilder<AddBlockRequest>> fn) -
allowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_allstring or when no indices have been specified)API name:
allow_no_indices -
block
Required - The block to add (one of read, write, read_only or metadata)API name:
block -
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards -
index
Required - A comma separated list of indices to add a block toAPI name:
index -
masterTimeout
Specify timeout for connection to masterAPI name:
master_timeout -
timeout
Explicit operation timeoutAPI name:
timeout
-