Class RecoveryRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.indices.RecoveryRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<RecoveryRequest>
- Enclosing class:
- RecoveryRequest
public static class RecoveryRequest.Builder extends java.lang.Object implements ObjectBuilder<RecoveryRequest>
Builder for
RecoveryRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RecoveryRequest.BuilderactiveOnly(java.lang.Boolean value)Display only those recoveries that are currently on-goingRecoveryRequest.BuilderaddIndex(java.lang.String value)Add a value toindex(List), creating the list if needed.RecoveryRequestbuild()Builds aRecoveryRequest.RecoveryRequest.Builderdetailed(java.lang.Boolean value)Whether to display detailed information about shard recoveryRecoveryRequest.Builderindex(java.lang.String... value)A comma-separated list of index names; use_allor empty string to perform the operation on all indicesRecoveryRequest.Builderindex(java.util.List<java.lang.String> value)A comma-separated list of index names; use_allor empty string to perform the operation on all indicesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index -
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index -
addIndex
Add a value toindex(List), creating the list if needed. 4 -
activeOnly
Display only those recoveries that are currently on-goingAPI name:
active_only -
detailed
Whether to display detailed information about shard recoveryAPI name:
detailed -
build
Builds aRecoveryRequest.- Specified by:
buildin interfaceObjectBuilder<RecoveryRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-