Class GetDatafeedsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetDatafeedsRequest
public class GetDatafeedsRequest extends RequestBase
Retrieves configuration information for datafeeds. You can get information
for multiple datafeeds in a single API request by using a comma-separated
list of datafeeds or a wildcard expression. You can get information for all
datafeeds by using
_all, by specifying * as the
<feed_id>, or by omitting the
<feed_id>. This API returns a maximum of 10,000 datafeeds.- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetDatafeedsRequest.BuilderBuilder forGetDatafeedsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetDatafeedsRequest,GetDatafeedsResponse,ErrorResponse>_ENDPOINTEndpoint "ml.get_datafeeds". -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoDatafeeds()Deprecated.java.lang.BooleanallowNoMatch()Specifies what to do when the request: Contains wildcard expressions and there are no datafeeds that match. Contains the_allstring or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.java.util.List<java.lang.String>datafeedId()Identifier for the datafeed.java.lang.BooleanexcludeGenerated()Indicates if certain fields should be removed from the configuration on retrieval.static GetDatafeedsRequestof(java.util.function.Function<GetDatafeedsRequest.Builder,ObjectBuilder<GetDatafeedsRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "ml.get_datafeeds".
-
-
Method Details
-
of
public static GetDatafeedsRequest of(java.util.function.Function<GetDatafeedsRequest.Builder,ObjectBuilder<GetDatafeedsRequest>> fn) -
allowNoDatafeeds
@Deprecated @Nullable public final java.lang.Boolean allowNoDatafeeds()Deprecated.7.10.0 Useallow_no_matchinstead.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 -
allowNoMatch
@Nullable public final java.lang.Boolean allowNoMatch()Specifies what to do when the request:- Contains wildcard expressions and there are no datafeeds that match.
- Contains the
_allstring or no identifiers and there are no matches. - Contains wildcard expressions and there are only partial matches.
The default value is
true, which returns an emptydatafeedsarray when there are no matches and the subset of results when there are partial matches. If this parameter isfalse, the request returns a404status code when there are no matches or only partial matches.API name:
allow_no_match -
datafeedId
public final java.util.List<java.lang.String> datafeedId()Identifier for the datafeed. It can be a datafeed identifier or a wildcard expression. If you do not specify one of these options, the API returns information about all datafeeds.API name:
datafeed_id -
excludeGenerated
@Nullable public final java.lang.Boolean excludeGenerated()Indicates if certain fields should be removed from the configuration on retrieval. This allows the configuration to be in an acceptable format to be retrieved and then added to another cluster.API name:
exclude_generated
-
allow_no_matchinstead.