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 Summary
ConstructorsConstructorDescriptionCreates an instance of NlpVerticalLimitSettings class. -
Method Summary
Modifier and TypeMethodDescriptionstatic NlpVerticalLimitSettingsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NlpVerticalLimitSettings from the JsonReader.Get the maxConcurrentTrials property: Maximum Concurrent AutoML iterations.Get the maxTrials property: Number of AutoML iterations.timeout()Get the timeout property: AutoML job timeout.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withMaxConcurrentTrials(Integer maxConcurrentTrials) Set the maxConcurrentTrials property: Maximum Concurrent AutoML iterations.withMaxTrials(Integer maxTrials) Set the maxTrials property: Number of AutoML iterations.withTimeout(Duration timeout) Set the timeout property: AutoML job timeout.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NlpVerticalLimitSettings
public NlpVerticalLimitSettings()Creates an instance of NlpVerticalLimitSettings class.
-
-
Method Details
-
timeout
Get the timeout property: AutoML job timeout.- Returns:
- the timeout value.
-
withTimeout
Set the timeout property: AutoML job timeout.- Parameters:
timeout- the timeout value to set.- Returns:
- the NlpVerticalLimitSettings object itself.
-
maxTrials
Get the maxTrials property: Number of AutoML iterations.- Returns:
- the maxTrials value.
-
withMaxTrials
Set the maxTrials property: Number of AutoML iterations.- Parameters:
maxTrials- the maxTrials value to set.- Returns:
- the NlpVerticalLimitSettings object itself.
-
maxConcurrentTrials
Get the maxConcurrentTrials property: Maximum Concurrent AutoML iterations.- Returns:
- the maxConcurrentTrials value.
-
withMaxConcurrentTrials
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
- Specified by:
toJsonin interfacecom.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.
-