Class MlDataFrameAnalyticsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.cat.CatRequestBase.AbstractBuilder<MlDataFrameAnalyticsRequest.Builder>
co.elastic.clients.elasticsearch.cat.MlDataFrameAnalyticsRequest.Builder
- All Implemented Interfaces:
WithJson<MlDataFrameAnalyticsRequest.Builder>
,ObjectBuilder<MlDataFrameAnalyticsRequest>
- Enclosing class:
- MlDataFrameAnalyticsRequest
public static class MlDataFrameAnalyticsRequest.Builder
extends CatRequestBase.AbstractBuilder<MlDataFrameAnalyticsRequest.Builder>
implements ObjectBuilder<MlDataFrameAnalyticsRequest>
Builder for
MlDataFrameAnalyticsRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowNoMatch
(Boolean value) Whether to ignore if a wildcard expression matches no configs.build()
Builds aMlDataFrameAnalyticsRequest
.The unit in which to display byte valuesh
(CatDfaColumn value, CatDfaColumn... values) Comma-separated list of column names to display.h
(List<CatDfaColumn> list) Comma-separated list of column names to display.The ID of the data frame analytics to fetchs
(CatDfaColumn value, CatDfaColumn... values) Comma-separated list of column names or column aliases used to sort the response.s
(List<CatDfaColumn> list) Comma-separated list of column names or column aliases used to sort the response.protected MlDataFrameAnalyticsRequest.Builder
self()
Unit used to display time values.Unit used to display time values.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowNoMatch
Whether to ignore if a wildcard expression matches no configs. (This includes_all
string or when no configs have been specified)API name:
allow_no_match
-
bytes
The unit in which to display byte valuesAPI name:
bytes
-
h
Comma-separated list of column names to display.API name:
h
Adds all elements of
list
toh
. -
h
Comma-separated list of column names to display.API name:
h
Adds one or more values to
h
. -
id
The ID of the data frame analytics to fetchAPI name:
id
-
s
Comma-separated list of column names or column aliases used to sort the response.API name:
s
Adds all elements of
list
tos
. -
s
Comma-separated list of column names or column aliases used to sort the response.API name:
s
Adds one or more values to
s
. -
time
Unit used to display time values.API name:
time
-
time
public final MlDataFrameAnalyticsRequest.Builder time(Function<Time.Builder, ObjectBuilder<Time>> fn) Unit used to display time values.API name:
time
-
self
- Specified by:
self
in classCatRequestBase.AbstractBuilder<MlDataFrameAnalyticsRequest.Builder>
-
build
Builds aMlDataFrameAnalyticsRequest
.- Specified by:
build
in interfaceObjectBuilder<MlDataFrameAnalyticsRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-