Class AnalyticsCollection.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AnalyticsCollection.Builder>
co.elastic.clients.elasticsearch.search_application.AnalyticsCollection.Builder
- All Implemented Interfaces:
WithJson<AnalyticsCollection.Builder>,ObjectBuilder<AnalyticsCollection>
- Enclosing class:
- AnalyticsCollection
public static class AnalyticsCollection.Builder
extends WithJsonObjectBuilderBase<AnalyticsCollection.Builder>
implements ObjectBuilder<AnalyticsCollection>
Builder for
AnalyticsCollection.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAnalyticsCollection.eventDataStream(EventDataStream value) Required - Data stream for the collection.Required - Data stream for the collection.protected AnalyticsCollection.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
-
eventDataStream
Required - Data stream for the collection.API name:
event_data_stream -
eventDataStream
public final AnalyticsCollection.Builder eventDataStream(Function<EventDataStream.Builder, ObjectBuilder<EventDataStream>> fn) Required - Data stream for the collection.API name:
event_data_stream -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AnalyticsCollection.Builder>
-
build
Builds aAnalyticsCollection.- Specified by:
buildin interfaceObjectBuilder<AnalyticsCollection>- Throws:
NullPointerException- if some of the required fields are null.
-