Class UpdateByQueryRethrottleNode.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.BaseNode.AbstractBuilder<UpdateByQueryRethrottleNode.Builder>
co.elastic.clients.elasticsearch.core.update_by_query_rethrottle.UpdateByQueryRethrottleNode.Builder
- All Implemented Interfaces:
ObjectBuilder<UpdateByQueryRethrottleNode>
- Enclosing class:
- UpdateByQueryRethrottleNode
public static class UpdateByQueryRethrottleNode.Builder extends BaseNode.AbstractBuilder<UpdateByQueryRethrottleNode.Builder> implements ObjectBuilder<UpdateByQueryRethrottleNode>
Builder for
UpdateByQueryRethrottleNode.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description UpdateByQueryRethrottleNodebuild()Builds aUpdateByQueryRethrottleNode.UpdateByQueryRethrottleNode.BuilderputTasks(java.lang.String key, Info value)Add a key/value totasks(Map), creating the map if needed.UpdateByQueryRethrottleNode.BuilderputTasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)Add a key/value totasks(Map), creating the map if needed.protected UpdateByQueryRethrottleNode.Builderself()UpdateByQueryRethrottleNode.Buildertasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)Settasks(Map)to a singleton map.UpdateByQueryRethrottleNode.Buildertasks(java.util.Map<java.lang.String,Info> value)Required - API name:tasksMethods inherited from class co.elastic.clients.elasticsearch._types.BaseNode.AbstractBuilder
addRoles, attributes, host, ip, name, putAttributes, roles, roles, transportAddressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tasks
Required - API name:tasks -
putTasks
Add a key/value totasks(Map), creating the map if needed. -
tasks
public UpdateByQueryRethrottleNode.Builder tasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)Settasks(Map)to a singleton map. -
putTasks
public UpdateByQueryRethrottleNode.Builder putTasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)Add a key/value totasks(Map), creating the map if needed. -
self
- Specified by:
selfin classBaseNode.AbstractBuilder<UpdateByQueryRethrottleNode.Builder>
-
build
Builds aUpdateByQueryRethrottleNode.- Specified by:
buildin interfaceObjectBuilder<UpdateByQueryRethrottleNode>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-