Class PostDataRequest.Builder<TData>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.PostDataRequest.Builder<TData>
- All Implemented Interfaces:
ObjectBuilder<PostDataRequest<TData>>
- Enclosing class:
- PostDataRequest<TData>
@Deprecated public static class PostDataRequest.Builder<TData> extends ObjectBuilderBase implements ObjectBuilder<PostDataRequest<TData>>
Deprecated.
Builder for
PostDataRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated. -
Method Summary
Modifier and Type Method Description PostDataRequest<TData>
build()
Deprecated.Builds aPostDataRequest
.PostDataRequest.Builder<TData>
data(java.util.List<TData> list)
Deprecated.Required - Request body.PostDataRequest.Builder<TData>
data(TData value, TData... values)
Deprecated.Required - Request body.PostDataRequest.Builder<TData>
jobId(java.lang.String value)
Deprecated.Required - Identifier for the anomaly detection job.PostDataRequest.Builder<TData>
resetEnd(DateTime value)
Deprecated.Specifies the end of the bucket resetting range.PostDataRequest.Builder<TData>
resetStart(DateTime value)
Deprecated.Specifies the start of the bucket resetting range.PostDataRequest.Builder<TData>
tDataSerializer(JsonpSerializer<TData> value)
Deprecated.Serializer for TData.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
jobId
Deprecated.Required - Identifier for the anomaly detection job. The job must have a state of open to receive and process the data.API name:
job_id
-
resetEnd
Deprecated.Specifies the end of the bucket resetting range.API name:
reset_end
-
resetStart
Deprecated.Specifies the start of the bucket resetting range.API name:
reset_start
-
data
Deprecated.Required - Request body.API name:
_value_body
Adds all elements of
list
todata
. -
data
Deprecated.Required - Request body.API name:
_value_body
Adds one or more values to
data
. -
tDataSerializer
public final PostDataRequest.Builder<TData> tDataSerializer(@Nullable JsonpSerializer<TData> value)Deprecated.Serializer for TData. If not set, an attempt will be made to find a serializer from the JSON context. -
build
Deprecated.Builds aPostDataRequest
.- Specified by:
build
in interfaceObjectBuilder<TData>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-