Class DataframeAnalysisAnalyzedFields.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeAnalysisAnalyzedFields.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalysisAnalyzedFields.Builder
- All Implemented Interfaces:
WithJson<DataframeAnalysisAnalyzedFields.Builder>,ObjectBuilder<DataframeAnalysisAnalyzedFields>
- Enclosing class:
- DataframeAnalysisAnalyzedFields
public static class DataframeAnalysisAnalyzedFields.Builder extends WithJsonObjectBuilderBase<DataframeAnalysisAnalyzedFields.Builder> implements ObjectBuilder<DataframeAnalysisAnalyzedFields>
Builder for
DataframeAnalysisAnalyzedFields.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataframeAnalysisAnalyzedFieldsbuild()Builds aDataframeAnalysisAnalyzedFields.DataframeAnalysisAnalyzedFields.Builderexcludes(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.Builderexcludes(java.util.List<java.lang.String> list)Required - An array of strings that defines the fields that will be included in the analysis.DataframeAnalysisAnalyzedFields.Builderincludes(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.Builderincludes(java.util.List<java.lang.String> list)Required - An array of strings that defines the fields that will be excluded from the analysis.protected DataframeAnalysisAnalyzedFields.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
includesAdds all elements of
listtoincludes. -
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:
includesAdds 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:
excludesAdds all elements of
listtoexcludes. -
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:
excludesAdds one or more values to
excludes. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataframeAnalysisAnalyzedFields.Builder>
-
build
Builds aDataframeAnalysisAnalyzedFields.- Specified by:
buildin interfaceObjectBuilder<DataframeAnalysisAnalyzedFields>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-