Class GetTransformRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.transform.GetTransformRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetTransformRequest>
- Enclosing class:
- GetTransformRequest
public static class GetTransformRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetTransformRequest>
Builder for
GetTransformRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetTransformRequest.Builder
allowNoMatch(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.GetTransformRequest
build()
Builds aGetTransformRequest
.GetTransformRequest.Builder
excludeGenerated(java.lang.Boolean value)
Excludes fields that were automatically added when creating the transform.GetTransformRequest.Builder
from(java.lang.Integer value)
Skips the specified number of transforms.GetTransformRequest.Builder
size(java.lang.Integer value)
Specifies the maximum number of transforms to obtain.GetTransformRequest.Builder
transformId(java.lang.String value)
Identifier for the transform.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
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
-
excludeGenerated
Excludes fields that were automatically added when creating the transform. This allows the configuration to be in an acceptable format to be retrieved and then added to another cluster.API name:
exclude_generated
-
from
Skips the specified number of transforms.API name:
from
-
size
Specifies the maximum number of transforms to obtain.API name:
size
-
transformId
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_id
-
build
Builds aGetTransformRequest
.- Specified by:
build
in interfaceObjectBuilder<GetTransformRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-