Class GetDatafeedsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetDatafeedsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetDatafeedsRequest>
- Enclosing class:
- GetDatafeedsRequest
public static class GetDatafeedsRequest.Builder extends java.lang.Object implements ObjectBuilder<GetDatafeedsRequest>
Builder for
GetDatafeedsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetDatafeedsRequest.BuilderaddDatafeedId(java.lang.String value)Add a value todatafeedId(List), creating the list if needed.GetDatafeedsRequest.BuilderallowNoDatafeeds(java.lang.Boolean value)Whether to ignore if a wildcard expression matches no datafeeds.GetDatafeedsRequestbuild()Builds aGetDatafeedsRequest.GetDatafeedsRequest.BuilderdatafeedId(java.lang.String... value)The ID of the datafeeds to fetchGetDatafeedsRequest.BuilderdatafeedId(java.util.List<java.lang.String> value)The ID of the datafeeds to fetchGetDatafeedsRequest.BuilderexcludeGenerated(java.lang.Boolean value)Omits fields that are illegal to set on datafeed PUTMethods 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
The ID of the datafeeds to fetchAPI name:
datafeed_id -
datafeedId
The ID of the datafeeds to fetchAPI name:
datafeed_id -
addDatafeedId
Add a value todatafeedId(List), creating the list if needed. -
allowNoDatafeeds
Whether to ignore if a wildcard expression matches no datafeeds. (This includes_allstring or when no datafeeds have been specified)API name:
allow_no_datafeeds -
excludeGenerated
Omits fields that are illegal to set on datafeed PUTAPI name:
exclude_generated -
build
Builds aGetDatafeedsRequest.- Specified by:
buildin interfaceObjectBuilder<GetDatafeedsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-