Class ModelVersionDetails


  • public final class ModelVersionDetails
    extends AssetBase
    Model asset version details.
    • Constructor Detail

      • ModelVersionDetails

        public ModelVersionDetails()
    • Method Detail

      • flavors

        public Map<String,​FlavorData> flavors()
        Get the flavors property: Mapping of model flavors to their properties.
        Returns:
        the flavors value.
      • withFlavors

        public ModelVersionDetails withFlavors​(Map<String,​FlavorData> flavors)
        Set the flavors property: Mapping of model flavors to their properties.
        Parameters:
        flavors - the flavors value to set.
        Returns:
        the ModelVersionDetails object itself.
      • jobName

        public String jobName()
        Get the jobName property: Name of the training job which produced this model.
        Returns:
        the jobName value.
      • withJobName

        public ModelVersionDetails withJobName​(String jobName)
        Set the jobName property: Name of the training job which produced this model.
        Parameters:
        jobName - the jobName value to set.
        Returns:
        the ModelVersionDetails object itself.
      • modelType

        public ModelType modelType()
        Get the modelType property: The storage format for this entity. Used for NCD.
        Returns:
        the modelType value.
      • withModelType

        public ModelVersionDetails withModelType​(ModelType modelType)
        Set the modelType property: The storage format for this entity. Used for NCD.
        Parameters:
        modelType - the modelType value to set.
        Returns:
        the ModelVersionDetails object itself.
      • modelUri

        public String modelUri()
        Get the modelUri property: The URI path to the model contents.
        Returns:
        the modelUri value.
      • withModelUri

        public ModelVersionDetails withModelUri​(String modelUri)
        Set the modelUri property: The URI path to the model contents.
        Parameters:
        modelUri - the modelUri value to set.
        Returns:
        the ModelVersionDetails object itself.
      • withIsAnonymous

        public ModelVersionDetails withIsAnonymous​(Boolean isAnonymous)
        Set the isAnonymous property: If the name version are system generated (anonymous registration).
        Overrides:
        withIsAnonymous in class AssetBase
        Parameters:
        isAnonymous - the isAnonymous value to set.
        Returns:
        the AssetBase object itself.
      • withIsArchived

        public ModelVersionDetails withIsArchived​(Boolean isArchived)
        Set the isArchived property: Is the asset archived?.
        Overrides:
        withIsArchived in class AssetBase
        Parameters:
        isArchived - the isArchived value to set.
        Returns:
        the AssetBase object itself.
      • withDescription

        public ModelVersionDetails withDescription​(String description)
        Set the description property: The asset description text.
        Overrides:
        withDescription in class AssetBase
        Parameters:
        description - the description value to set.
        Returns:
        the ResourceBase object itself.
      • withProperties

        public ModelVersionDetails withProperties​(Map<String,​String> properties)
        Set the properties property: The asset property dictionary.
        Overrides:
        withProperties in class AssetBase
        Parameters:
        properties - the properties value to set.
        Returns:
        the ResourceBase object itself.
      • withTags

        public ModelVersionDetails withTags​(Map<String,​String> tags)
        Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
        Overrides:
        withTags in class AssetBase
        Parameters:
        tags - the tags value to set.
        Returns:
        the ResourceBase object itself.