Class ModelDeprecationInfo
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.ModelDeprecationInfo
-
public final class ModelDeprecationInfo extends Object
Cognitive Services account ModelDeprecationInfo.
-
-
Constructor Summary
Constructors Constructor Description ModelDeprecationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fineTune()
Get the fineTune property: The datetime of deprecation of the fineTune Model.String
inference()
Get the inference property: The datetime of deprecation of the inference Model.void
validate()
Validates the instance.ModelDeprecationInfo
withFineTune(String fineTune)
Set the fineTune property: The datetime of deprecation of the fineTune Model.ModelDeprecationInfo
withInference(String inference)
Set the inference property: The datetime of deprecation of the inference Model.
-
-
-
Method Detail
-
fineTune
public String fineTune()
Get the fineTune property: The datetime of deprecation of the fineTune Model.- Returns:
- the fineTune value.
-
withFineTune
public ModelDeprecationInfo withFineTune(String fineTune)
Set the fineTune property: The datetime of deprecation of the fineTune Model.- Parameters:
fineTune
- the fineTune value to set.- Returns:
- the ModelDeprecationInfo object itself.
-
inference
public String inference()
Get the inference property: The datetime of deprecation of the inference Model.- Returns:
- the inference value.
-
withInference
public ModelDeprecationInfo withInference(String inference)
Set the inference property: The datetime of deprecation of the inference Model.- Parameters:
inference
- the inference value to set.- Returns:
- the ModelDeprecationInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-