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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStartDatafeedRequest
.datafeedId
(String value) Required - The ID of the datafeed to startAPI name:end
end
(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:end
protected StartDatafeedRequest.Builder
self()
API name:start
API name:start
API name:timeout
API name:timeout
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classRequestBase.AbstractBuilder<StartDatafeedRequest.Builder>
-
build
Builds aStartDatafeedRequest
.- Specified by:
build
in interfaceObjectBuilder<StartDatafeedRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-