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.Builder
addDatafeedId(java.lang.String value)
Add a value todatafeedId(List)
, creating the list if needed.GetDatafeedsRequest.Builder
allowNoDatafeeds(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no datafeeds.GetDatafeedsRequest
build()
Builds aGetDatafeedsRequest
.GetDatafeedsRequest.Builder
datafeedId(java.lang.String... value)
The ID of the datafeeds to fetchGetDatafeedsRequest.Builder
datafeedId(java.util.List<java.lang.String> value)
The ID of the datafeeds to fetchGetDatafeedsRequest.Builder
excludeGenerated(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_all
string 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:
build
in interfaceObjectBuilder<GetDatafeedsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-