Class TransformsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.TransformsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<TransformsRequest>
- Enclosing class:
- TransformsRequest
public static class TransformsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<TransformsRequest>
Builder for
TransformsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TransformsRequest.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no transforms.TransformsRequest
build()
Builds aTransformsRequest
.TransformsRequest.Builder
from(java.lang.Integer value)
skips a number of transform configs, defaults to 0TransformsRequest.Builder
h(CatTransformColumn value, CatTransformColumn... values)
Comma-separated list of column names to display.TransformsRequest.Builder
h(java.util.List<CatTransformColumn> list)
Comma-separated list of column names to display.TransformsRequest.Builder
s(CatTransformColumn value, CatTransformColumn... values)
Comma-separated list of column names or column aliases used to sort the response.TransformsRequest.Builder
s(java.util.List<CatTransformColumn> list)
Comma-separated list of column names or column aliases used to sort the response.TransformsRequest.Builder
size(java.lang.Integer value)
specifies a max number of transforms to get, defaults to 100TransformsRequest.Builder
time(Time value)
Unit used to display time values.TransformsRequest.Builder
time(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
Unit used to display time values.TransformsRequest.Builder
transformId(java.lang.String value)
The id of the transform for which to get stats.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()
-
-
Method Details
-
allowNoMatch
Whether to ignore if a wildcard expression matches no transforms. (This includes_all
string or when no transforms have been specified)API name:
allow_no_match
-
from
skips a number of transform configs, defaults to 0API name:
from
-
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
. -
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
. -
size
specifies a max number of transforms to get, defaults to 100API name:
size
-
time
Unit used to display time values.API name:
time
-
time
public final TransformsRequest.Builder time(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Unit used to display time values.API name:
time
-
transformId
The id of the transform for which to get stats. '_all' or '*' implies all transformsAPI name:
transform_id
-
build
Builds aTransformsRequest
.- Specified by:
build
in interfaceObjectBuilder<TransformsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-