Class GetProfileTasksResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.ml.GetProfileTasksResponse.Builder
-
- All Implemented Interfaces:
CopyableBuilder<GetProfileTasksResponse.Builder,GetProfileTasksResponse>,MutableBuilder<GetProfileTasksResponse.Builder,GetProfileTasksResponse>,ObjectBuilder<GetProfileTasksResponse>
- Enclosing class:
- GetProfileTasksResponse
public static class GetProfileTasksResponse.Builder extends ObjectBuilderBase implements CopyableBuilder<GetProfileTasksResponse.Builder,GetProfileTasksResponse>
Builder forGetProfileTasksResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetProfileTasksResponsebuild()Builds aGetProfileTasksResponse.GetProfileTasksResponse.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.GetProfileTasksResponse.Buildernodes(java.lang.String key, java.util.function.Function<Node.Builder,ObjectBuilder<Node>> fn)API name:nodesGetProfileTasksResponse.Buildernodes(java.lang.String key, Node value)API name:nodesGetProfileTasksResponse.Buildernodes(java.util.Map<java.lang.String,Node> map)API name:nodes-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public GetProfileTasksResponse.Builder copy()
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<GetProfileTasksResponse.Builder,GetProfileTasksResponse>- Returns:
- a new builder instance.
-
nodes
@Nonnull public final GetProfileTasksResponse.Builder nodes(java.util.Map<java.lang.String,Node> map)
API name:nodesAdds all elements of
maptonodes.
-
nodes
@Nonnull public final GetProfileTasksResponse.Builder nodes(java.lang.String key, Node value)
API name:nodesAdds an entry to
nodes.
-
nodes
@Nonnull public final GetProfileTasksResponse.Builder nodes(java.lang.String key, java.util.function.Function<Node.Builder,ObjectBuilder<Node>> fn)
API name:nodesAdds a value to
nodesusing a builder lambda.
-
build
@Nonnull public GetProfileTasksResponse build()
Builds aGetProfileTasksResponse.- Specified by:
buildin interfaceObjectBuilder<GetProfileTasksResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-