Class ReindexRethrottleResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ReindexRethrottleResponse.Builder>
co.elastic.clients.elasticsearch.core.ReindexRethrottleResponse.Builder
- All Implemented Interfaces:
WithJson<ReindexRethrottleResponse.Builder>,ObjectBuilder<ReindexRethrottleResponse>
- Enclosing class:
- ReindexRethrottleResponse
public static class ReindexRethrottleResponse.Builder extends WithJsonObjectBuilderBase<ReindexRethrottleResponse.Builder> implements ObjectBuilder<ReindexRethrottleResponse>
Builder for
ReindexRethrottleResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ReindexRethrottleResponsebuild()Builds aReindexRethrottleResponse.ReindexRethrottleResponse.Buildernodes(java.lang.String key, ReindexNode value)Required - API name:nodesReindexRethrottleResponse.Buildernodes(java.lang.String key, java.util.function.Function<ReindexNode.Builder,ObjectBuilder<ReindexNode>> fn)Required - API name:nodesReindexRethrottleResponse.Buildernodes(java.util.Map<java.lang.String,ReindexNode> map)Required - API name:nodesprotected ReindexRethrottleResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
nodes
public final ReindexRethrottleResponse.Builder nodes(java.util.Map<java.lang.String,ReindexNode> map)Required - API name:nodesAdds all entries of
maptonodes. -
nodes
Required - API name:nodesAdds an entry to
nodes. -
nodes
public final ReindexRethrottleResponse.Builder nodes(java.lang.String key, java.util.function.Function<ReindexNode.Builder,ObjectBuilder<ReindexNode>> fn)Required - API name:nodesAdds an entry to
nodesusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ReindexRethrottleResponse.Builder>
-
build
Builds aReindexRethrottleResponse.- Specified by:
buildin interfaceObjectBuilder<ReindexRethrottleResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-