Class ClusterAppliedStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterAppliedStats.Builder>
co.elastic.clients.elasticsearch.nodes.ClusterAppliedStats.Builder
- All Implemented Interfaces:
WithJson<ClusterAppliedStats.Builder>
,ObjectBuilder<ClusterAppliedStats>
- Enclosing class:
- ClusterAppliedStats
public static class ClusterAppliedStats.Builder
extends WithJsonObjectBuilderBase<ClusterAppliedStats.Builder>
implements ObjectBuilder<ClusterAppliedStats>
Builder for
ClusterAppliedStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aClusterAppliedStats
.recordings
(Recording value, Recording... values) API name:recordings
API name:recordings
recordings
(List<Recording> list) API name:recordings
protected ClusterAppliedStats.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordings
API name:recordings
Adds all elements of
list
torecordings
. -
recordings
API name:recordings
Adds one or more values to
recordings
. -
recordings
public final ClusterAppliedStats.Builder recordings(Function<Recording.Builder, ObjectBuilder<Recording>> fn) API name:recordings
Adds a value to
recordings
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClusterAppliedStats.Builder>
-
build
Builds aClusterAppliedStats
.- Specified by:
build
in interfaceObjectBuilder<ClusterAppliedStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-