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 - A numerical character string that uniquely identifies the datafeed.Refer to the description for theendquery parameter.protected StartDatafeedRequest.Builderself()Refer to the description for thestartquery parameter.Refer to the description for thetimeoutquery parameter.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, _mapPutAll
-
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
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:
NullPointerException- if some of the required fields are null.
-