Class UpgradeTransformsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.transform.UpgradeTransformsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<UpgradeTransformsRequest>
- Enclosing class:
- UpgradeTransformsRequest
public static class UpgradeTransformsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<UpgradeTransformsRequest>
Builder for
UpgradeTransformsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description UpgradeTransformsRequestbuild()Builds aUpgradeTransformsRequest.UpgradeTransformsRequest.BuilderdryRun(java.lang.Boolean value)When true, the request checks for updates but does not run them.UpgradeTransformsRequest.Buildertimeout(Time value)Period to wait for a response.UpgradeTransformsRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a response.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
-
dryRun
When true, the request checks for updates but does not run them.API name:
dry_run -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
timeout
public final UpgradeTransformsRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
build
Builds aUpgradeTransformsRequest.- Specified by:
buildin interfaceObjectBuilder<UpgradeTransformsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-