Class DataframeAnalysisAnalyzedFields.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.DataframeAnalysisAnalyzedFields.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeAnalysisAnalyzedFields>
- Enclosing class:
- DataframeAnalysisAnalyzedFields
public static class DataframeAnalysisAnalyzedFields.Builder extends ObjectBuilderBase implements ObjectBuilder<DataframeAnalysisAnalyzedFields>
Builder for
DataframeAnalysisAnalyzedFields
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeAnalysisAnalyzedFields
build()
Builds aDataframeAnalysisAnalyzedFields
.DataframeAnalysisAnalyzedFields.Builder
excludes(java.lang.String value, java.lang.String... values)
Required - An array of strings that defines the fields that will be included in the analysis.DataframeAnalysisAnalyzedFields.Builder
excludes(java.util.List<java.lang.String> list)
Required - An array of strings that defines the fields that will be included in the analysis.DataframeAnalysisAnalyzedFields.Builder
includes(java.lang.String value, java.lang.String... values)
Required - An array of strings that defines the fields that will be excluded from the analysis.DataframeAnalysisAnalyzedFields.Builder
includes(java.util.List<java.lang.String> list)
Required - An array of strings that defines the fields that will be excluded from the analysis.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
includes
public final DataframeAnalysisAnalyzedFields.Builder includes(java.util.List<java.lang.String> list)Required - An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.API name:
includes
Adds all elements of
list
toincludes
. -
includes
public final DataframeAnalysisAnalyzedFields.Builder includes(java.lang.String value, java.lang.String... values)Required - An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically.API name:
includes
Adds one or more values to
includes
. -
excludes
public final DataframeAnalysisAnalyzedFields.Builder excludes(java.util.List<java.lang.String> list)Required - An array of strings that defines the fields that will be included in the analysis.API name:
excludes
Adds all elements of
list
toexcludes
. -
excludes
public final DataframeAnalysisAnalyzedFields.Builder excludes(java.lang.String value, java.lang.String... values)Required - An array of strings that defines the fields that will be included in the analysis.API name:
excludes
Adds one or more values to
excludes
. -
build
Builds aDataframeAnalysisAnalyzedFields
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalysisAnalyzedFields>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-