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
size(java.lang.Integer value)
specifies a max number of transforms to get, defaults to 100TransformsRequest.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
-
size
specifies a max number of transforms to get, defaults to 100API name:
size
-
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.
-