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>
  • 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 to includes.

    • 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 to excludes.

    • 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

      Specified by:
      build in interface ObjectBuilder<DataframeAnalysisAnalyzedFields>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.