Class NlpVerticalLimitSettings

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

public final class NlpVerticalLimitSettings extends Object implements com.azure.json.JsonSerializable<NlpVerticalLimitSettings>
Job execution constraints.
  • Constructor Details

    • NlpVerticalLimitSettings

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

    • timeout

      public Duration timeout()
      Get the timeout property: AutoML job timeout.
      Returns:
      the timeout value.
    • withTimeout

      public NlpVerticalLimitSettings withTimeout(Duration timeout)
      Set the timeout property: AutoML job timeout.
      Parameters:
      timeout - the timeout value to set.
      Returns:
      the NlpVerticalLimitSettings object itself.
    • maxTrials

      public Integer maxTrials()
      Get the maxTrials property: Number of AutoML iterations.
      Returns:
      the maxTrials value.
    • withMaxTrials

      public NlpVerticalLimitSettings withMaxTrials(Integer maxTrials)
      Set the maxTrials property: Number of AutoML iterations.
      Parameters:
      maxTrials - the maxTrials value to set.
      Returns:
      the NlpVerticalLimitSettings object itself.
    • maxConcurrentTrials

      public Integer maxConcurrentTrials()
      Get the maxConcurrentTrials property: Maximum Concurrent AutoML iterations.
      Returns:
      the maxConcurrentTrials value.
    • withMaxConcurrentTrials

      public NlpVerticalLimitSettings withMaxConcurrentTrials(Integer maxConcurrentTrials)
      Set the maxConcurrentTrials property: Maximum Concurrent AutoML iterations.
      Parameters:
      maxConcurrentTrials - the maxConcurrentTrials value to set.
      Returns:
      the NlpVerticalLimitSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      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<NlpVerticalLimitSettings>
      Throws:
      IOException
    • fromJson

      public static NlpVerticalLimitSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NlpVerticalLimitSettings from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NlpVerticalLimitSettings 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 NlpVerticalLimitSettings.