Class ComponentVersionDetails


  • public final class ComponentVersionDetails
    extends AssetBase
    Definition of a component version: defines resources that span component types.
    • Constructor Detail

      • ComponentVersionDetails

        public ComponentVersionDetails()
    • Method Detail

      • componentSpec

        public Object componentSpec()
        Get the componentSpec property: Defines Component definition details. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
        Returns:
        the componentSpec value.
      • withComponentSpec

        public ComponentVersionDetails withComponentSpec​(Object componentSpec)
        Set the componentSpec property: Defines Component definition details. <see href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-yaml-component-command" />.
        Parameters:
        componentSpec - the componentSpec value to set.
        Returns:
        the ComponentVersionDetails object itself.
      • withIsAnonymous

        public ComponentVersionDetails 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 ComponentVersionDetails 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 ComponentVersionDetails 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.
      • withTags

        public ComponentVersionDetails 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.