Class AddBlockRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.AddBlockRequest
- All Implemented Interfaces:
ToCopyableBuilder<AddBlockRequest.Builder,AddBlockRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class AddBlockRequest
extends RequestBase
implements ToCopyableBuilder<AddBlockRequest.Builder,AddBlockRequest>
Adds a block to an index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._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 indexes expression resolves into no concrete indexes.protected voidapplyQueryParameters(Map<String, String> params) final IndicesBlockOptionsblock()Required - The block to add (one ofread,write,read_onlyormetadata).static AddBlockRequest.Builderbuilder()final TimeOperation timeout for connection to cluster-manager node.booleanfinal List<ExpandWildcard> Whether to expand wildcard expression to concrete indexes that are open, closed or both.inthashCode()final BooleanWhether specified concrete indexes should be ignored when unavailable (missing or closed).index()Required - A comma separated list of indexes to add a block to.final TimeDeprecated.static AddBlockRequestfinal Timetimeout()Explicit operation timeoutCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
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 indexes expression resolves into no concrete indexes. (This includes_allstring or when no indexes have been specified).API name:
allow_no_indices -
block
Required - The block to add (one ofread,write,read_onlyormetadata).API name:
block -
clusterManagerTimeout
Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
expandWildcards
Whether to expand wildcard expression to concrete indexes that are open, closed or both.API name:
expand_wildcards -
index
Required - A comma separated list of indexes to add a block to.API name:
index -
masterTimeout
Deprecated.Specify timeout for connection to cluster manager.API name:
master_timeout -
timeout
Explicit operation timeoutAPI name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AddBlockRequest.Builder,AddBlockRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-