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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterAppliedStats.recordings(Recording value, Recording... values) API name:recordingsAPI name:recordingsrecordings(List<Recording> list) API name:recordingsprotected ClusterAppliedStats.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordings
API name:recordingsAdds all elements of
listtorecordings. -
recordings
API name:recordingsAdds one or more values to
recordings. -
recordings
public final ClusterAppliedStats.Builder recordings(Function<Recording.Builder, ObjectBuilder<Recording>> fn) API name:recordingsAdds a value to
recordingsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ClusterAppliedStats.Builder>
-
build
Builds aClusterAppliedStats.- Specified by:
buildin interfaceObjectBuilder<ClusterAppliedStats>- Throws:
NullPointerException- if some of the required fields are null.
-