Class FilterRef.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.FilterRef.Builder
- All Implemented Interfaces:
ObjectBuilder<FilterRef>
- Enclosing class:
- FilterRef
public static class FilterRef.Builder extends java.lang.Object implements ObjectBuilder<FilterRef>
Builder for
FilterRef.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FilterRefbuild()Builds aFilterRef.FilterRef.BuilderfilterId(java.lang.String value)Required - The identifier for the filter.FilterRef.BuilderfilterType(FilterType value)If set toinclude, the rule applies for values in the filter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterId
Required - The identifier for the filter.API name:
filter_id -
filterType
If set toinclude, the rule applies for values in the filter. If set toexclude, the rule applies for values not in the filter.API name:
filter_type -
build
Builds aFilterRef.- Specified by:
buildin interfaceObjectBuilder<FilterRef>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-