Class SegmentsRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<SegmentsRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<SegmentsRequest.Builder>
org.opensearch.client.opensearch.cat.SegmentsRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<SegmentsRequest.Builder,,SegmentsRequest> MutableBuilder<SegmentsRequest.Builder,,SegmentsRequest> ObjectBuilder<SegmentsRequest>
- Enclosing class:
SegmentsRequest
public static class SegmentsRequest.Builder
extends CatRequestBase.AbstractBuilder<SegmentsRequest.Builder>
implements CopyableBuilder<SegmentsRequest.Builder,SegmentsRequest>
Builder for
SegmentsRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSegmentsRequest.final SegmentsRequest.BuilderThe units used to display byte values.final SegmentsRequest.BuilderThe amount of time allowed to establish a connection to the cluster manager node.final SegmentsRequest.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 SegmentsRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.final SegmentsRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.final SegmentsRequest.BuilderDeprecated.final SegmentsRequest.BuildermasterTimeout(Time value) Deprecated.protected SegmentsRequest.Builderself()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<SegmentsRequest.Builder,SegmentsRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<SegmentsRequest.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 SegmentsRequest.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 -
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 SegmentsRequest.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 -
build
Builds aSegmentsRequest.- Specified by:
buildin interfaceObjectBuilder<SegmentsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-