Class ListResponse.AbstractBuilder<BuilderT extends ListResponse.AbstractBuilder<BuilderT>>
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.tasks.ListResponse.AbstractBuilder<BuilderT>
-
- Direct Known Subclasses:
DeleteByQueryRethrottleResponse.Builder
,ListResponse.Builder
- Enclosing class:
- ListResponse
protected abstract static class ListResponse.AbstractBuilder<BuilderT extends ListResponse.AbstractBuilder<BuilderT>> extends ObjectBuilderBase
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BuilderT
nodeFailures(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)
API name:node_failures
BuilderT
nodeFailures(java.util.List<ErrorCause> list)
API name:node_failures
BuilderT
nodeFailures(ErrorCause value, ErrorCause... values)
API name:node_failures
BuilderT
nodes(java.lang.String key, java.util.function.Function<TaskExecutingNode.Builder,ObjectBuilder<TaskExecutingNode>> fn)
API name:nodes
BuilderT
nodes(java.lang.String key, TaskExecutingNode value)
API name:nodes
BuilderT
nodes(java.util.Map<java.lang.String,TaskExecutingNode> map)
API name:nodes
protected abstract BuilderT
self()
BuilderT
tasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)
API name:tasks
BuilderT
tasks(java.lang.String key, Info value)
API name:tasks
BuilderT
tasks(java.util.Map<java.lang.String,Info> map)
API name:tasks
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
nodeFailures
public final BuilderT nodeFailures(java.util.List<ErrorCause> list)
API name:node_failures
Adds all elements of
list
tonodeFailures
.
-
nodeFailures
public final BuilderT nodeFailures(ErrorCause value, ErrorCause... values)
API name:node_failures
Adds one or more values to
nodeFailures
.
-
nodeFailures
public final BuilderT nodeFailures(java.util.function.Function<ErrorCause.Builder,ObjectBuilder<ErrorCause>> fn)
API name:node_failures
Adds a value to
nodeFailures
using a builder lambda.
-
nodes
public final BuilderT nodes(java.util.Map<java.lang.String,TaskExecutingNode> map)
API name:nodes
Adds all entries of
map
tonodes
.
-
nodes
public final BuilderT nodes(java.lang.String key, TaskExecutingNode value)
API name:nodes
Adds an entry to
nodes
.
-
nodes
public final BuilderT nodes(java.lang.String key, java.util.function.Function<TaskExecutingNode.Builder,ObjectBuilder<TaskExecutingNode>> fn)
API name:nodes
Adds an entry to
nodes
using a builder lambda.
-
tasks
public final BuilderT tasks(java.util.Map<java.lang.String,Info> map)
API name:tasks
Adds all entries of
map
totasks
.
-
tasks
public final BuilderT tasks(java.lang.String key, Info value)
API name:tasks
Adds an entry to
tasks
.
-
tasks
public final BuilderT tasks(java.lang.String key, java.util.function.Function<Info.Builder,ObjectBuilder<Info>> fn)
API name:tasks
Adds an entry to
tasks
using a builder lambda.
-
self
protected abstract BuilderT self()
-
-