Class DeviceEnrollmentPlatformRestriction.Builder

    • Method Detail

      • blockedManufacturers

        public DeviceEnrollmentPlatformRestriction.Builder blockedManufacturers​(List<String> blockedManufacturers)
        “Collection of blocked Manufacturers.”
        Parameters:
        blockedManufacturers - value of blockedManufacturers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • blockedManufacturers

        public DeviceEnrollmentPlatformRestriction.Builder blockedManufacturers​(String... blockedManufacturers)
        “Collection of blocked Manufacturers.”
        Parameters:
        blockedManufacturers - value of blockedManufacturers property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • blockedManufacturersNextLink

        public DeviceEnrollmentPlatformRestriction.Builder blockedManufacturersNextLink​(String blockedManufacturersNextLink)
        “Collection of blocked Manufacturers.”
        Parameters:
        blockedManufacturersNextLink - value of blockedManufacturers@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • blockedSkus

        public DeviceEnrollmentPlatformRestriction.Builder blockedSkus​(List<String> blockedSkus)
        “Collection of blocked Skus.”
        Parameters:
        blockedSkus - value of blockedSkus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • blockedSkus

        public DeviceEnrollmentPlatformRestriction.Builder blockedSkus​(String... blockedSkus)
        “Collection of blocked Skus.”
        Parameters:
        blockedSkus - value of blockedSkus property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • blockedSkusNextLink

        public DeviceEnrollmentPlatformRestriction.Builder blockedSkusNextLink​(String blockedSkusNextLink)
        “Collection of blocked Skus.”
        Parameters:
        blockedSkusNextLink - value of blockedSkus@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • osMaximumVersion

        public DeviceEnrollmentPlatformRestriction.Builder osMaximumVersion​(String osMaximumVersion)
        “Max OS version supported”
        Parameters:
        osMaximumVersion - value of osMaximumVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • osMinimumVersion

        public DeviceEnrollmentPlatformRestriction.Builder osMinimumVersion​(String osMinimumVersion)
        “Min OS version supported”
        Parameters:
        osMinimumVersion - value of osMinimumVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • personalDeviceEnrollmentBlocked

        public DeviceEnrollmentPlatformRestriction.Builder personalDeviceEnrollmentBlocked​(Boolean personalDeviceEnrollmentBlocked)
        “Block personally owned devices from enrolling”
        Parameters:
        personalDeviceEnrollmentBlocked - value of personalDeviceEnrollmentBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • platformBlocked

        public DeviceEnrollmentPlatformRestriction.Builder platformBlocked​(Boolean platformBlocked)
        “Block the platform from enrolling”
        Parameters:
        platformBlocked - value of platformBlocked property (as defined in service metadata)
        Returns:
        this (for method chaining)