Class StartDatafeedRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<StartDatafeedRequest.Builder>
co.elastic.clients.elasticsearch.ml.StartDatafeedRequest.Builder
- All Implemented Interfaces:
WithJson<StartDatafeedRequest.Builder>,ObjectBuilder<StartDatafeedRequest>
- Enclosing class:
- StartDatafeedRequest
public static class StartDatafeedRequest.Builder extends RequestBase.AbstractBuilder<StartDatafeedRequest.Builder> implements ObjectBuilder<StartDatafeedRequest>
Builder for
StartDatafeedRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StartDatafeedRequestbuild()Builds aStartDatafeedRequest.StartDatafeedRequest.BuilderdatafeedId(java.lang.String value)Required - A numerical character string that uniquely identifies the datafeed.StartDatafeedRequest.Builderend(DateTime value)Refer to the description for theendquery parameter.protected StartDatafeedRequest.Builderself()StartDatafeedRequest.Builderstart(DateTime value)Refer to the description for thestartquery parameter.StartDatafeedRequest.Buildertimeout(Time value)Refer to the description for thetimeoutquery parameter.StartDatafeedRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Refer to the description for thetimeoutquery parameter.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
datafeedId
Required - A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.API name:
datafeed_id -
end
Refer to the description for theendquery parameter.API name:
end -
start
Refer to the description for thestartquery parameter.API name:
start -
timeout
Refer to the description for thetimeoutquery parameter.API name:
timeout -
timeout
public final StartDatafeedRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Refer to the description for thetimeoutquery parameter.API name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<StartDatafeedRequest.Builder>
-
build
Builds aStartDatafeedRequest.- Specified by:
buildin interfaceObjectBuilder<StartDatafeedRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-