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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowNoMatch(Boolean value) Whether to ignore if a wildcard expression matches no configs.build()Builds aMlDataFrameAnalyticsRequest.Sets the units for columns that contain a byte-size value.h(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.Builderself()Sets the units for columns that contain a time duration.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
-
allowNoMatch
Whether to ignore if a wildcard expression matches no configs. (This includes_allstring or when no configs have been specified.)API name:
allow_no_match -
bytes
Sets the units for columns that contain a byte-size value. Note that byte-size value units work in terms of powers of 1024. For instance1kbmeans 1024 bytes, not 1000 bytes. If omitted, byte-size values are rendered with a suffix such askb,mb, orgb, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, byte-size values are rendered as an integer with no suffix, representing the value of the column in the chosen unit. Values that are not an exact multiple of the chosen unit are rounded down.API name:
bytes -
h
Comma-separated list of column names to display.API name:
hAdds all elements of
listtoh. -
h
Comma-separated list of column names to display.API name:
hAdds 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:
sAdds all elements of
listtos. -
s
Comma-separated list of column names or column aliases used to sort the response.API name:
sAdds one or more values to
s. -
time
Sets the units for columns that contain a time duration. If omitted, time duration values are rendered with a suffix such asms,s,morh, chosen such that the numeric value of the column is as small as possible whilst still being at least1.0. If given, time duration values are rendered as an integer with no suffix. Values that are not an exact multiple of the chosen unit are rounded down.API name:
time -
self
- Specified by:
selfin classCatRequestBase.AbstractBuilder<MlDataFrameAnalyticsRequest.Builder>
-
build
Builds aMlDataFrameAnalyticsRequest.- Specified by:
buildin interfaceObjectBuilder<MlDataFrameAnalyticsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-