Class RecoveryRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<RecoveryRequest.Builder>
org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder<RecoveryRequest.Builder>
org.opensearch.client.opensearch.cat.RecoveryRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<RecoveryRequest.Builder,,RecoveryRequest> MutableBuilder<RecoveryRequest.Builder,,RecoveryRequest> ObjectBuilder<RecoveryRequest>
- Enclosing class:
RecoveryRequest
public static class RecoveryRequest.Builder
extends CatRequestBase.AbstractBuilder<RecoveryRequest.Builder>
implements CopyableBuilder<RecoveryRequest.Builder,RecoveryRequest>
Builder for
RecoveryRequest.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.AbstractBuilder
headers, sort -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RecoveryRequest.BuilderactiveOnly(Boolean value) Iftrue, the response only includes ongoing shard recoveries.build()Builds aRecoveryRequest.final RecoveryRequest.BuilderThe units used to display byte values.copy()Create a new builderCopyableBuilderthat is a copy of this one.final RecoveryRequest.BuilderWhentrue, includes detailed information about shard recoveries.final RecoveryRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.final RecoveryRequest.BuilderA comma-separated list of data streams, indexes, and aliases used to limit the request.protected RecoveryRequest.Builderself()final RecoveryRequest.BuilderSpecifies the time units, for example,5dor7h.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<RecoveryRequest.Builder,RecoveryRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<RecoveryRequest.Builder>
-
activeOnly
Iftrue, the response only includes ongoing shard recoveries.API name:
active_only -
bytes
The units used to display byte values.API name:
bytes -
detailed
Whentrue, includes detailed information about shard recoveries.API name:
detailed -
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. -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
build
Builds aRecoveryRequest.- Specified by:
buildin interfaceObjectBuilder<RecoveryRequest>- Throws:
NullPointerException- if some of the required fields are null.
-