Class MlFilter.Builder
java.lang.Object
org.elasticsearch.client.ml.job.config.MlFilter.Builder
- Enclosing class:
- MlFilter
public static class MlFilter.Builder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description MlFilter
build()
java.lang.String
getId()
MlFilter.Builder
setDescription(java.lang.String description)
Set the description of the filterMlFilter.Builder
setId(java.lang.String id)
Set the ID of the filterMlFilter.Builder
setItems(java.lang.String... items)
The items of the filter.MlFilter.Builder
setItems(java.util.List<java.lang.String> items)
MlFilter.Builder
setItems(java.util.SortedSet<java.lang.String> items)
-
Method Details
-
setId
Set the ID of the filter- Parameters:
id
- The id desired
-
getId
@Nullable public java.lang.String getId() -
setDescription
Set the description of the filter- Parameters:
description
- The description desired
-
setItems
-
setItems
-
setItems
The items of the filter. A wildcard * can be used at the beginning or the end of an item. Up to 10000 items are allowed in each filter.- Parameters:
items
- String list of items to be applied in the filter
-
build
-