Class ReindexRethrottleResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.ReindexRethrottleResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<ReindexRethrottleResponse.Builder,,ReindexRethrottleResponse> MutableBuilder<ReindexRethrottleResponse.Builder,,ReindexRethrottleResponse> ObjectBuilder<ReindexRethrottleResponse>
- Enclosing class:
ReindexRethrottleResponse
public static class ReindexRethrottleResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ReindexRethrottleResponse.Builder,ReindexRethrottleResponse>
Builder for
ReindexRethrottleResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aReindexRethrottleResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.nodes(String key, Function<ReindexNode.Builder, ObjectBuilder<ReindexNode>> fn) Required - API name:nodesnodes(String key, ReindexNode value) Required - API name:nodesnodes(Map<String, ReindexNode> map) Required - API name:nodesMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ReindexRethrottleResponse.Builder,ReindexRethrottleResponse> - Returns:
- a new builder instance.
-
nodes
Required - API name:nodesAdds all elements of
maptonodes. -
nodes
Required - API name:nodesAdds an entry to
nodes. -
nodes
@Nonnull public final ReindexRethrottleResponse.Builder nodes(String key, Function<ReindexNode.Builder, ObjectBuilder<ReindexNode>> fn) Required - API name:nodesAdds a value to
nodesusing a builder lambda. -
build
Builds aReindexRethrottleResponse.- Specified by:
buildin interfaceObjectBuilder<ReindexRethrottleResponse>- Throws:
NullPointerException- if some of the required fields are null.
-