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