Package odata.msgraph.client.beta.entity
Class WindowsDeliveryOptimizationConfiguration.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.WindowsDeliveryOptimizationConfiguration.Builder
-
- Enclosing class:
- WindowsDeliveryOptimizationConfiguration
public static final class WindowsDeliveryOptimizationConfiguration.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public WindowsDeliveryOptimizationConfiguration.Builder id(String id)
-
createdDateTime
public WindowsDeliveryOptimizationConfiguration.Builder createdDateTime(OffsetDateTime createdDateTime)
-
description
public WindowsDeliveryOptimizationConfiguration.Builder description(String description)
-
deviceManagementApplicabilityRuleDeviceMode
public WindowsDeliveryOptimizationConfiguration.Builder deviceManagementApplicabilityRuleDeviceMode(DeviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode)
-
deviceManagementApplicabilityRuleOsEdition
public WindowsDeliveryOptimizationConfiguration.Builder deviceManagementApplicabilityRuleOsEdition(DeviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition)
-
deviceManagementApplicabilityRuleOsVersion
public WindowsDeliveryOptimizationConfiguration.Builder deviceManagementApplicabilityRuleOsVersion(DeviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion)
-
displayName
public WindowsDeliveryOptimizationConfiguration.Builder displayName(String displayName)
-
lastModifiedDateTime
public WindowsDeliveryOptimizationConfiguration.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
roleScopeTagIds
public WindowsDeliveryOptimizationConfiguration.Builder roleScopeTagIds(List<String> roleScopeTagIds)
-
roleScopeTagIds
public WindowsDeliveryOptimizationConfiguration.Builder roleScopeTagIds(String... roleScopeTagIds)
-
roleScopeTagIdsNextLink
public WindowsDeliveryOptimizationConfiguration.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
-
supportsScopeTags
public WindowsDeliveryOptimizationConfiguration.Builder supportsScopeTags(Boolean supportsScopeTags)
-
version
public WindowsDeliveryOptimizationConfiguration.Builder version(Integer version)
-
backgroundDownloadFromHttpDelayInSeconds
public WindowsDeliveryOptimizationConfiguration.Builder backgroundDownloadFromHttpDelayInSeconds(Long backgroundDownloadFromHttpDelayInSeconds)
“Specifies number of seconds to delay an HTTP source in a background download that is allowed to use peer-to-peer. Valid values 0 to 4294967295”- Parameters:
backgroundDownloadFromHttpDelayInSeconds- value ofbackgroundDownloadFromHttpDelayInSecondsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
bandwidthMode
public WindowsDeliveryOptimizationConfiguration.Builder bandwidthMode(DeliveryOptimizationBandwidth bandwidthMode)
“Specifies foreground and background bandwidth usage using percentages, absolutes , or hours.”- Parameters:
bandwidthMode- value ofbandwidthModeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds
public WindowsDeliveryOptimizationConfiguration.Builder cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds)
“Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a background download. Valid values 0 to 2592000.”- Parameters:
cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds- value ofcacheServerBackgroundDownloadFallbackToHttpDelayInSecondsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cacheServerForegroundDownloadFallbackToHttpDelayInSeconds
public WindowsDeliveryOptimizationConfiguration.Builder cacheServerForegroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerForegroundDownloadFallbackToHttpDelayInSeconds)
“Specifies number of seconds to delay a fall back from cache servers to an HTTP source for a foreground download. Valid values 0 to 2592000.”- Parameters:
cacheServerForegroundDownloadFallbackToHttpDelayInSeconds- value ofcacheServerForegroundDownloadFallbackToHttpDelayInSecondsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cacheServerHostNames
public WindowsDeliveryOptimizationConfiguration.Builder cacheServerHostNames(List<String> cacheServerHostNames)
“Specifies cache servers host names.”- Parameters:
cacheServerHostNames- value ofcacheServerHostNamesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cacheServerHostNames
public WindowsDeliveryOptimizationConfiguration.Builder cacheServerHostNames(String... cacheServerHostNames)
“Specifies cache servers host names.”- Parameters:
cacheServerHostNames- value ofcacheServerHostNamesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
cacheServerHostNamesNextLink
public WindowsDeliveryOptimizationConfiguration.Builder cacheServerHostNamesNextLink(String cacheServerHostNamesNextLink)
“Specifies cache servers host names.”- Parameters:
cacheServerHostNamesNextLink- value ofcacheServerHostNames@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
deliveryOptimizationMode
public WindowsDeliveryOptimizationConfiguration.Builder deliveryOptimizationMode(WindowsDeliveryOptimizationMode deliveryOptimizationMode)
“Specifies the download method that delivery optimization can use to manage network bandwidth consumption for large content distribution scenarios.”- Parameters:
deliveryOptimizationMode- value ofdeliveryOptimizationModeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
foregroundDownloadFromHttpDelayInSeconds
public WindowsDeliveryOptimizationConfiguration.Builder foregroundDownloadFromHttpDelayInSeconds(Long foregroundDownloadFromHttpDelayInSeconds)
“Specifying 0 sets Delivery Optimization to manage this setting using the cloud service. Valid values 0 to 86400”- Parameters:
foregroundDownloadFromHttpDelayInSeconds- value offoregroundDownloadFromHttpDelayInSecondsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
groupIdSource
public WindowsDeliveryOptimizationConfiguration.Builder groupIdSource(DeliveryOptimizationGroupIdSource groupIdSource)
“The options set in this policy only apply to Delivery Optimization mode Group (2 ) download mode. If Group (2) isn't set as Download mode, this policy will be ignored. For option 3 - DHCP Option ID, the client will query DHCP Option ID 234 and use the returned GUID value as the Group ID.”- Parameters:
groupIdSource- value ofgroupIdSourceproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
maximumCacheAgeInDays
public WindowsDeliveryOptimizationConfiguration.Builder maximumCacheAgeInDays(Integer maximumCacheAgeInDays)
“Specifies the maximum time in days that each file is held in the Delivery Optimization cache after downloading successfully (0-3650). Valid values 0 to 3650”- Parameters:
maximumCacheAgeInDays- value ofmaximumCacheAgeInDaysproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
maximumCacheSize
public WindowsDeliveryOptimizationConfiguration.Builder maximumCacheSize(DeliveryOptimizationMaxCacheSize maximumCacheSize)
“Specifies the maximum cache size that Delivery Optimization either as a percentage or in GB.”- Parameters:
maximumCacheSize- value ofmaximumCacheSizeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumBatteryPercentageAllowedToUpload
public WindowsDeliveryOptimizationConfiguration.Builder minimumBatteryPercentageAllowedToUpload(Integer minimumBatteryPercentageAllowedToUpload)
“The default value is 0. The value 0 (zero) means "not limited" and the cloud service default value will be used. Valid values 0 to 100”- Parameters:
minimumBatteryPercentageAllowedToUpload- value ofminimumBatteryPercentageAllowedToUploadproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumDiskSizeAllowedToPeerInGigabytes
public WindowsDeliveryOptimizationConfiguration.Builder minimumDiskSizeAllowedToPeerInGigabytes(Integer minimumDiskSizeAllowedToPeerInGigabytes)
“Recommended values: 64 GB to 256 GB. Valid values 1 to 100000”- Parameters:
minimumDiskSizeAllowedToPeerInGigabytes- value ofminimumDiskSizeAllowedToPeerInGigabytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumFileSizeToCacheInMegabytes
public WindowsDeliveryOptimizationConfiguration.Builder minimumFileSizeToCacheInMegabytes(Integer minimumFileSizeToCacheInMegabytes)
“Recommended values: 1 MB to 100,000 MB. Valid values 1 to 100000”- Parameters:
minimumFileSizeToCacheInMegabytes- value ofminimumFileSizeToCacheInMegabytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
minimumRamAllowedToPeerInGigabytes
public WindowsDeliveryOptimizationConfiguration.Builder minimumRamAllowedToPeerInGigabytes(Integer minimumRamAllowedToPeerInGigabytes)
“Specifies the minimum RAM size in GB to use Peer Caching (1-100000). Valid values 1 to 100000”- Parameters:
minimumRamAllowedToPeerInGigabytes- value ofminimumRamAllowedToPeerInGigabytesproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
modifyCacheLocation
public WindowsDeliveryOptimizationConfiguration.Builder modifyCacheLocation(String modifyCacheLocation)
“Specifies the drive that Delivery Optimization should use for its cache.”- Parameters:
modifyCacheLocation- value ofmodifyCacheLocationproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
restrictPeerSelectionBy
public WindowsDeliveryOptimizationConfiguration.Builder restrictPeerSelectionBy(DeliveryOptimizationRestrictPeerSelectionByOptions restrictPeerSelectionBy)
“Option 1 (Subnet mask) only applies to Delivery Optimization modes Download Mode LAN (1) and Group (2).”- Parameters:
restrictPeerSelectionBy- value ofrestrictPeerSelectionByproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
vpnPeerCaching
public WindowsDeliveryOptimizationConfiguration.Builder vpnPeerCaching(Enablement vpnPeerCaching)
“Specifies whether the device is allowed to participate in Peer Caching while connected via VPN to the domain network.”- Parameters:
vpnPeerCaching- value ofvpnPeerCachingproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public WindowsDeliveryOptimizationConfiguration build()
-
-