Class PostBehavioralAnalyticsEventRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PostBehavioralAnalyticsEventRequest.Builder>
co.elastic.clients.elasticsearch.search_application.PostBehavioralAnalyticsEventRequest.Builder
- All Implemented Interfaces:
WithJson<PostBehavioralAnalyticsEventRequest.Builder>
,ObjectBuilder<PostBehavioralAnalyticsEventRequest>
- Enclosing class:
- PostBehavioralAnalyticsEventRequest
@Deprecated
public static class PostBehavioralAnalyticsEventRequest.Builder
extends RequestBase.AbstractBuilder<PostBehavioralAnalyticsEventRequest.Builder>
implements ObjectBuilder<PostBehavioralAnalyticsEventRequest>
Deprecated.
Builder for
PostBehavioralAnalyticsEventRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Builds aPostBehavioralAnalyticsEventRequest
.collectionName
(String value) Deprecated.Required - The name of the behavioral analytics collection.Deprecated.Whether the response type has to include more detailsDeprecated.Required - The analytics event type.Deprecated.Required - Request body.self()
Deprecated.withJson
(jakarta.json.stream.JsonParser parser, JsonpMapper mapper) Deprecated.Sets additional properties values on this object by reading from a JSON input.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
collectionName
Deprecated.Required - The name of the behavioral analytics collection.API name:
collection_name
-
debug
Deprecated.Whether the response type has to include more detailsAPI name:
debug
-
eventType
Deprecated.Required - The analytics event type.API name:
event_type
-
payload
Deprecated.Required - Request body. -
withJson
public PostBehavioralAnalyticsEventRequest.Builder withJson(jakarta.json.stream.JsonParser parser, JsonpMapper mapper) Deprecated.Description copied from interface:WithJson
Sets additional properties values on this object by reading from a JSON input.This is a "partial deserialization": properties that were already set keep their value if they're not present in the JSON input, and properties can also be set after having called this method, including overriding those read from the JSON input.
This low level variant of
withJson
gives full control on the json parser and object mapper. Most of the time usingWithJson.withJson(Reader)
andWithJson.withJson(InputStream)
will be more convenient.- Specified by:
withJson
in interfaceWithJson<PostBehavioralAnalyticsEventRequest.Builder>
- Overrides:
withJson
in classWithJsonObjectBuilderBase<PostBehavioralAnalyticsEventRequest.Builder>
- Parameters:
parser
- the JSONP parsermapper
- the JSONP mapper used to deserialize values and nested objects- Returns:
- this object
-
self
Deprecated.- Specified by:
self
in classRequestBase.AbstractBuilder<PostBehavioralAnalyticsEventRequest.Builder>
-
build
Deprecated.Builds aPostBehavioralAnalyticsEventRequest
.- Specified by:
build
in interfaceObjectBuilder<PostBehavioralAnalyticsEventRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-