Class RegisterISOOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accountInDomain

        public static RegisterISOOptions accountInDomain​(String account,
                                                         String domainId)
        Parameters:
        account - an optional account name. Must be used with domainId.
      • bootable

        public static RegisterISOOptions bootable​(boolean bootable)
        Parameters:
        bootable - true if this ISO is bootable
      • domainId

        public static RegisterISOOptions domainId​(String domainId)
        Parameters:
        domainId - an optional domainId. If the account parameter is used, domainId must also be used.
      • isExtractable

        public static RegisterISOOptions isExtractable​(boolean isExtractable)
        Parameters:
        isExtractable - true if the iso or its derivatives are extractable; default is false
      • isFeatured

        public static RegisterISOOptions isFeatured​(boolean isFeatured)
        Parameters:
        isFeatured - true if you want this ISO to be featured
      • isPublic

        public static RegisterISOOptions isPublic​(boolean isPublic)
        Parameters:
        isPublic - true if you want to register the ISO to be publicly available to all users, false otherwise.
      • osTypeId

        public static RegisterISOOptions osTypeId​(String osTypeId)
        Parameters:
        osTypeId - the ID of the OS Type that best represents the OS of this ISO
      • projectId

        public static RegisterISOOptions projectId​(String projectId)
        Parameters:
        projectId - the project this ISO will be in.