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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStartDatafeedRequest.datafeedId(String value) Required - The ID of the datafeed to startAPI name:endend(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:endprotected StartDatafeedRequest.Builderself()API name:startAPI name:startAPI name:timeoutAPI name:timeoutMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datafeedId
Required - The ID of the datafeed to startAPI name:
datafeed_id -
end
API name:end -
end
API name:end -
start
API name:start -
start
API name:start -
timeout
API name:timeout -
timeout
API name:timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<StartDatafeedRequest.Builder>
-
build
Builds aStartDatafeedRequest.- Specified by:
buildin interfaceObjectBuilder<StartDatafeedRequest>- Throws:
NullPointerException- if some of the required fields are null.
-