Class RecoveryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.RecoveryRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<RecoveryRequest>
- Enclosing class:
- RecoveryRequest
public static class RecoveryRequest.Builder extends ObjectBuilderBase 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-goingRecoveryRequestbuild()Builds aRecoveryRequest.RecoveryRequest.Builderdetailed(java.lang.Boolean value)Whether to display detailed information about shard recoveryRecoveryRequest.Builderindex(java.lang.String value, java.lang.String... values)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> list)A comma-separated list of index names; use_allor empty string to perform the operation on all indicesMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeOnly
Display only those recoveries that are currently on-goingAPI name:
active_only -
detailed
Whether to display detailed information about shard recoveryAPI name:
detailed -
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds all elements of
listtoindex. -
index
A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
indexAdds one or more values to
index. -
build
Builds aRecoveryRequest.- Specified by:
buildin interfaceObjectBuilder<RecoveryRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-