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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClusterAppliedStatsbuild()Builds aClusterAppliedStats.ClusterAppliedStats.Builderrecordings(Recording value, Recording... values)API name:recordingsClusterAppliedStats.Builderrecordings(java.util.function.Function<Recording.Builder,ObjectBuilder<Recording>> fn)API name:recordingsClusterAppliedStats.Builderrecordings(java.util.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, _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
-
recordings
API name:recordingsAdds all elements of
listtorecordings. -
recordings
API name:recordingsAdds one or more values to
recordings. -
recordings
public final ClusterAppliedStats.Builder recordings(java.util.function.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:
java.lang.NullPointerException- if some of the required fields are null.
-