Class ModelDeprecationInfo


  • public final class ModelDeprecationInfo
    extends Object
    Cognitive Services account ModelDeprecationInfo.
    • Constructor Detail

      • ModelDeprecationInfo

        public ModelDeprecationInfo()
    • 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.