Class GetTransformStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.transform.GetTransformStatsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetTransformStatsRequest>
- Enclosing class:
- GetTransformStatsRequest
public static class GetTransformStatsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetTransformStatsRequest>
Builder for
GetTransformStatsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetTransformStatsRequest.BuilderallowNoMatch(java.lang.Boolean value)Specifies what to do when the request: Contains wildcard expressions and there are no transforms that match. Contains the _all string or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.GetTransformStatsRequestbuild()Builds aGetTransformStatsRequest.GetTransformStatsRequest.Builderfrom(java.lang.Long value)Skips the specified number of transforms.GetTransformStatsRequest.Buildersize(java.lang.Long value)Specifies the maximum number of transforms to obtain.GetTransformStatsRequest.BuildertransformId(java.lang.String value, java.lang.String... values)Required - Identifier for the transform.GetTransformStatsRequest.BuildertransformId(java.util.List<java.lang.String> list)Required - Identifier for the transform.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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
Specifies what to do when the request:- Contains wildcard expressions and there are no transforms that match.
- Contains the _all string or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
If this parameter is false, the request returns a 404 status code when there are no matches or only partial matches.
API name:
allow_no_match -
from
Skips the specified number of transforms.API name:
from -
size
Specifies the maximum number of transforms to obtain.API name:
size -
transformId
Required - Identifier for the transform. It can be a transform identifier or a wildcard expression. You can get information for all transforms by using_all, by specifying*as the<transform_id>, or by omitting the<transform_id>.API name:
transform_idAdds all elements of
listtotransformId. -
transformId
public final GetTransformStatsRequest.Builder transformId(java.lang.String value, java.lang.String... values)Required - Identifier for the transform. It can be a transform identifier or a wildcard expression. You can get information for all transforms by using_all, by specifying*as the<transform_id>, or by omitting the<transform_id>.API name:
transform_idAdds one or more values to
transformId. -
build
Builds aGetTransformStatsRequest.- Specified by:
buildin interfaceObjectBuilder<GetTransformStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-