Class SharedPCConfiguration.Builder

    • Method Detail

      • accountManagerPolicy

        public SharedPCConfiguration.Builder accountManagerPolicy​(SharedPCAccountManagerPolicy accountManagerPolicy)
        “Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false.”
        Parameters:
        accountManagerPolicy - value of accountManagerPolicy property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • allowedAccounts

        public SharedPCConfiguration.Builder allowedAccounts​(SharedPCAllowedAccountType allowedAccounts)
        “Indicates which type of accounts are allowed to use on a shared PC.”
        Parameters:
        allowedAccounts - value of allowedAccounts property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • allowLocalStorage

        public SharedPCConfiguration.Builder allowLocalStorage​(Boolean allowLocalStorage)
        “Specifies whether local storage is allowed on a shared PC.”
        Parameters:
        allowLocalStorage - value of allowLocalStorage property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disableAccountManager

        public SharedPCConfiguration.Builder disableAccountManager​(Boolean disableAccountManager)
        “Disables the account manager for shared PC mode.”
        Parameters:
        disableAccountManager - value of disableAccountManager property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disableEduPolicies

        public SharedPCConfiguration.Builder disableEduPolicies​(Boolean disableEduPolicies)
        “Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.”
        Parameters:
        disableEduPolicies - value of disableEduPolicies property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disablePowerPolicies

        public SharedPCConfiguration.Builder disablePowerPolicies​(Boolean disablePowerPolicies)
        “Specifies whether the default shared PC power policies should be disabled.”
        Parameters:
        disablePowerPolicies - value of disablePowerPolicies property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • disableSignInOnResume

        public SharedPCConfiguration.Builder disableSignInOnResume​(Boolean disableSignInOnResume)
        “Disables the requirement to sign in whenever the device wakes up from sleep mode .”
        Parameters:
        disableSignInOnResume - value of disableSignInOnResume property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • enabled

        public SharedPCConfiguration.Builder enabled​(Boolean enabled)
        “Enables shared PC mode and applies the shared pc policies.”
        Parameters:
        enabled - value of enabled property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • idleTimeBeforeSleepInSeconds

        public SharedPCConfiguration.Builder idleTimeBeforeSleepInSeconds​(Integer idleTimeBeforeSleepInSeconds)
        “Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring.”
        Parameters:
        idleTimeBeforeSleepInSeconds - value of idleTimeBeforeSleepInSeconds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskAppDisplayName

        public SharedPCConfiguration.Builder kioskAppDisplayName​(String kioskAppDisplayName)
        “Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set.”
        Parameters:
        kioskAppDisplayName - value of kioskAppDisplayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • kioskAppUserModelId

        public SharedPCConfiguration.Builder kioskAppUserModelId​(String kioskAppUserModelId)
        “Specifies the application user model ID of the app to use with assigned access.”
        Parameters:
        kioskAppUserModelId - value of kioskAppUserModelId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • maintenanceStartTime

        public SharedPCConfiguration.Builder maintenanceStartTime​(LocalTime maintenanceStartTime)
        “Specifies the daily start time of maintenance hour.”
        Parameters:
        maintenanceStartTime - value of maintenanceStartTime property (as defined in service metadata)
        Returns:
        this (for method chaining)