Package odata.msgraph.client.beta.entity
Class SharedPCConfiguration.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.SharedPCConfiguration.Builder
-
- Enclosing class:
- SharedPCConfiguration
public static final class SharedPCConfiguration.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedPCConfiguration.BuilderaccountManagerPolicy(SharedPCAccountManagerPolicy accountManagerPolicy)“Specifies how accounts are managed on a shared PC.SharedPCConfiguration.BuilderallowedAccounts(SharedPCAllowedAccountType allowedAccounts)“Indicates which type of accounts are allowed to use on a shared PC.”SharedPCConfiguration.BuilderallowLocalStorage(Boolean allowLocalStorage)“Specifies whether local storage is allowed on a shared PC.”SharedPCConfigurationbuild()SharedPCConfiguration.BuildercreatedDateTime(OffsetDateTime createdDateTime)SharedPCConfiguration.Builderdescription(String description)SharedPCConfiguration.BuilderdeviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)SharedPCConfiguration.BuilderdeviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)SharedPCConfiguration.BuilderdeviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)SharedPCConfiguration.BuilderdisableAccountManager(Boolean disableAccountManager)“Disables the account manager for shared PC mode.”SharedPCConfiguration.BuilderdisableEduPolicies(Boolean disableEduPolicies)“Specifies whether the default shared PC education environment policies should be disabled.SharedPCConfiguration.BuilderdisablePowerPolicies(Boolean disablePowerPolicies)“Specifies whether the default shared PC power policies should be disabled.”SharedPCConfiguration.BuilderdisableSignInOnResume(Boolean disableSignInOnResume)“Disables the requirement to sign in whenever the device wakes up from sleep mode .”SharedPCConfiguration.BuilderdisplayName(String displayName)SharedPCConfiguration.Builderenabled(Boolean enabled)“Enables shared PC mode and applies the shared pc policies.”SharedPCConfiguration.BuilderfastFirstSignIn(Enablement fastFirstSignIn)“Specifies whether to auto connect new non-admin Azure AD accounts to pre- configured candidate local accounts”SharedPCConfiguration.Builderid(String id)SharedPCConfiguration.BuilderidleTimeBeforeSleepInSeconds(Integer idleTimeBeforeSleepInSeconds)“Specifies the time in seconds that a device must sit idle before the PC goes to sleep.SharedPCConfiguration.BuilderkioskAppDisplayName(String kioskAppDisplayName)“Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId.SharedPCConfiguration.BuilderkioskAppUserModelId(String kioskAppUserModelId)“Specifies the application user model ID of the app to use with assigned access.”SharedPCConfiguration.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)SharedPCConfiguration.BuilderlocalStorage(Enablement localStorage)“Specifies whether local storage is allowed on a shared PC.”SharedPCConfiguration.BuildermaintenanceStartTime(LocalTime maintenanceStartTime)“Specifies the daily start time of maintenance hour.”SharedPCConfiguration.BuilderroleScopeTagIds(String... roleScopeTagIds)SharedPCConfiguration.BuilderroleScopeTagIds(List<String> roleScopeTagIds)SharedPCConfiguration.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)SharedPCConfiguration.BuildersetAccountManager(Enablement setAccountManager)“Disables the account manager for shared PC mode.”SharedPCConfiguration.BuildersetEduPolicies(Enablement setEduPolicies)“Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured.SharedPCConfiguration.BuildersetPowerPolicies(Enablement setPowerPolicies)“Specifies whether the default shared PC power policies should be enabled/ disabled.”SharedPCConfiguration.BuildersignInOnResume(Enablement signInOnResume)“Specifies the requirement to sign in whenever the device wakes up from sleep mode.”SharedPCConfiguration.BuildersupportsScopeTags(Boolean supportsScopeTags)SharedPCConfiguration.Builderversion(Integer version)
-
-
-
Method Detail
-
id
public SharedPCConfiguration.Builder id(String id)
-
createdDateTime
public SharedPCConfiguration.Builder createdDateTime(OffsetDateTime createdDateTime)
-
description
public SharedPCConfiguration.Builder description(String description)
-
deviceManagementApplicabilityRuleDeviceMode
public SharedPCConfiguration.Builder deviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
-
deviceManagementApplicabilityRuleOsEdition
public SharedPCConfiguration.Builder deviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
-
deviceManagementApplicabilityRuleOsVersion
public SharedPCConfiguration.Builder deviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
-
displayName
public SharedPCConfiguration.Builder displayName(String displayName)
-
lastModifiedDateTime
public SharedPCConfiguration.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
roleScopeTagIds
public SharedPCConfiguration.Builder roleScopeTagIds(List<String> roleScopeTagIds)
-
roleScopeTagIds
public SharedPCConfiguration.Builder roleScopeTagIds(String... roleScopeTagIds)
-
roleScopeTagIdsNextLink
public SharedPCConfiguration.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
-
supportsScopeTags
public SharedPCConfiguration.Builder supportsScopeTags(Boolean supportsScopeTags)
-
version
public SharedPCConfiguration.Builder version(Integer version)
-
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 ofaccountManagerPolicyproperty (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 ofallowedAccountsproperty (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 ofallowLocalStorageproperty (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 ofdisableAccountManagerproperty (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 ofdisableEduPoliciesproperty (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 ofdisablePowerPoliciesproperty (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 ofdisableSignInOnResumeproperty (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 ofenabledproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
fastFirstSignIn
public SharedPCConfiguration.Builder fastFirstSignIn(Enablement fastFirstSignIn)
“Specifies whether to auto connect new non-admin Azure AD accounts to pre- configured candidate local accounts”- Parameters:
fastFirstSignIn- value offastFirstSignInproperty (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 ofidleTimeBeforeSleepInSecondsproperty (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 ofkioskAppDisplayNameproperty (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 ofkioskAppUserModelIdproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
localStorage
public SharedPCConfiguration.Builder localStorage(Enablement localStorage)
“Specifies whether local storage is allowed on a shared PC.”- Parameters:
localStorage- value oflocalStorageproperty (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 ofmaintenanceStartTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
setAccountManager
public SharedPCConfiguration.Builder setAccountManager(Enablement setAccountManager)
“Disables the account manager for shared PC mode.”- Parameters:
setAccountManager- value ofsetAccountManagerproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
setEduPolicies
public SharedPCConfiguration.Builder setEduPolicies(Enablement setEduPolicies)
“Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.”- Parameters:
setEduPolicies- value ofsetEduPoliciesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
setPowerPolicies
public SharedPCConfiguration.Builder setPowerPolicies(Enablement setPowerPolicies)
“Specifies whether the default shared PC power policies should be enabled/ disabled.”- Parameters:
setPowerPolicies- value ofsetPowerPoliciesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
signInOnResume
public SharedPCConfiguration.Builder signInOnResume(Enablement signInOnResume)
“Specifies the requirement to sign in whenever the device wakes up from sleep mode.”- Parameters:
signInOnResume- value ofsignInOnResumeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public SharedPCConfiguration build()
-
-