Class NlpVerticalFeaturizationSettings

java.lang.Object
com.azure.resourcemanager.machinelearning.models.FeaturizationSettings
com.azure.resourcemanager.machinelearning.models.NlpVerticalFeaturizationSettings
All Implemented Interfaces:
com.azure.json.JsonSerializable<FeaturizationSettings>

public final class NlpVerticalFeaturizationSettings extends FeaturizationSettings
The NlpVerticalFeaturizationSettings model.
  • Constructor Details

    • NlpVerticalFeaturizationSettings

      public NlpVerticalFeaturizationSettings()
      Creates an instance of NlpVerticalFeaturizationSettings class.
  • Method Details

    • withDatasetLanguage

      public NlpVerticalFeaturizationSettings withDatasetLanguage(String datasetLanguage)
      Set the datasetLanguage property: Dataset language, useful for the text data.
      Overrides:
      withDatasetLanguage in class FeaturizationSettings
      Parameters:
      datasetLanguage - the datasetLanguage value to set.
      Returns:
      the FeaturizationSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class FeaturizationSettings
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<FeaturizationSettings>
      Overrides:
      toJson in class FeaturizationSettings
      Throws:
      IOException
    • fromJson

      public static NlpVerticalFeaturizationSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NlpVerticalFeaturizationSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NlpVerticalFeaturizationSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the NlpVerticalFeaturizationSettings.