Class CodeVersionDetails


  • public final class CodeVersionDetails
    extends AssetBase
    Code asset version details.
    • Constructor Detail

      • CodeVersionDetails

        public CodeVersionDetails()
    • Method Detail

      • codeUri

        public String codeUri()
        Get the codeUri property: Uri where code is located.
        Returns:
        the codeUri value.
      • withCodeUri

        public CodeVersionDetails withCodeUri​(String codeUri)
        Set the codeUri property: Uri where code is located.
        Parameters:
        codeUri - the codeUri value to set.
        Returns:
        the CodeVersionDetails object itself.
      • withIsAnonymous

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