Class IndicesRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<IndicesRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<IndicesRequest.Builder>
org.opensearch.client.opensearch.cat.IndicesRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<IndicesRequest.Builder,,IndicesRequest> MutableBuilder<IndicesRequest.Builder,,IndicesRequest> ObjectBuilder<IndicesRequest>
- Enclosing class:
IndicesRequest
public static class IndicesRequest.Builder
extends CatRequestBase.AbstractBuilder<IndicesRequest.Builder>
implements CopyableBuilder<IndicesRequest.Builder,IndicesRequest>
Builder for
IndicesRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndicesRequest.final IndicesRequest.BuilderThe units used to display byte values.final IndicesRequest.BuilderThe amount of time allowed to establish a connection to the cluster manager node.final IndicesRequest.BuilderclusterManagerTimeout(Time value) The amount of time allowed to establish a connection to the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IndicesRequest.BuilderexpandWildcards(List<ExpandWildcard> list) Specifies the type of index that wildcard expressions can match.final IndicesRequest.BuilderexpandWildcards(ExpandWildcard value, ExpandWildcard... values) Specifies the type of index that wildcard expressions can match.final IndicesRequest.Builderhealth(HealthStatus value) Limits indexes based on their health status.final IndicesRequest.BuilderincludeUnloadedSegments(Boolean value) Whether to include information from segments not loaded into memory.final IndicesRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.final IndicesRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.final IndicesRequest.BuilderDeprecated.final IndicesRequest.BuildermasterTimeout(Time value) Deprecated.final IndicesRequest.BuilderWhentrue, returns information only from the primary shards.protected IndicesRequest.Builderself()final IndicesRequest.BuilderSpecifies the time units.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, headers, sort, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndicesRequest.Builder,IndicesRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<IndicesRequest.Builder>
-
bytes
The units used to display byte values.API name:
bytes -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final IndicesRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
expandWildcards
Specifies the type of index that wildcard expressions can match. Supports comma-separated values.API name:
expand_wildcardsAdds all elements of
listtoexpandWildcards. -
expandWildcards
@Nonnull public final IndicesRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Specifies the type of index that wildcard expressions can match. Supports comma-separated values.API name:
expand_wildcardsAdds one or more values to
expandWildcards. -
health
Limits indexes based on their health status. Supported values aregreen,yellow, andred.API name:
health -
includeUnloadedSegments
Whether to include information from segments not loaded into memory.API name:
include_unloaded_segments -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
indexAdds all elements of
listtoindex. -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
indexAdds one or more values to
index. -
masterTimeout
Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
masterTimeout
@Deprecated @Nonnull public final IndicesRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Deprecated.The amount of time allowed to establish a connection to the cluster manager node.API name:
master_timeout -
pri
Whentrue, returns information only from the primary shards.API name:
pri -
time
Specifies the time units.API name:
time -
build
Builds aIndicesRequest.- Specified by:
buildin interfaceObjectBuilder<IndicesRequest>- Throws:
NullPointerException- if some of the required fields are null.
-