Class RecoveryResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.RecoveryResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<RecoveryResponse>
- Enclosing class:
- RecoveryResponse
public static class RecoveryResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<RecoveryResponse>
Builder for
RecoveryResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RecoveryResponsebuild()Builds aRecoveryResponse.RecoveryResponse.BuildervalueBody(RecoveryRecord value, RecoveryRecord... values)Required - Response value.RecoveryResponse.BuildervalueBody(java.util.function.Function<RecoveryRecord.Builder,ObjectBuilder<RecoveryRecord>> fn)Required - Response value.RecoveryResponse.BuildervalueBody(java.util.List<RecoveryRecord> list)Required - Response value.Methods 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
-
valueBody
Required - Response value.API name:
_value_bodyAdds all elements of
listtovalueBody. -
valueBody
Required - Response value.API name:
_value_bodyAdds one or more values to
valueBody. -
valueBody
public final RecoveryResponse.Builder valueBody(java.util.function.Function<RecoveryRecord.Builder,ObjectBuilder<RecoveryRecord>> fn)Required - Response value.API name:
_value_bodyAdds a value to
valueBodyusing a builder lambda. -
build
Builds aRecoveryResponse.- Specified by:
buildin interfaceObjectBuilder<RecoveryResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-