Interface NamedXContentObject

All Superinterfaces:
ToXContent, ToXContentObject
All Known Subinterfaces:
InferenceConfig, OutputAggregator, PreProcessor, TrainedModel
All Known Implementing Classes:
ClassificationConfig, CustomWordEmbedding, Ensemble, FrequencyEncoding, LangIdentNeuralNetwork, LogisticRegression, OneHotEncoding, RegressionConfig, TargetMeanEncoding, Tree, WeightedMode, WeightedSum

public interface NamedXContentObject
extends ToXContentObject
Simple interface for XContent Objects that are named. This affords more general handling when serializing and de-serializing this type of XContent when it is used in a NamedObjects parser.
  • Method Details

    • getName

      java.lang.String getName()
      Returns:
      The name of the XContentObject that is to be serialized