public class WindowsDeliveryOptimizationConfiguration extends DeviceConfiguration implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsDeliveryOptimizationConfiguration.Builder |
createdDateTime, description, deviceManagementApplicabilityRuleDeviceMode, deviceManagementApplicabilityRuleOsEdition, deviceManagementApplicabilityRuleOsVersion, displayName, lastModifiedDateTime, roleScopeTagIds, roleScopeTagIdsNextLink, supportsScopeTags, versionchangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsDeliveryOptimizationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsDeliveryOptimizationConfiguration.Builder |
builderWindowsDeliveryOptimizationConfiguration()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Long> |
getBackgroundDownloadFromHttpDelayInSeconds()
“Specifies number of seconds to delay an HTTP source in a background download
that is allowed to use peer-to-peer.
|
Optional<DeliveryOptimizationBandwidth> |
getBandwidthMode()
“Specifies foreground and background bandwidth usage using percentages, absolutes
, or hours.”
|
Optional<Integer> |
getCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds()
“Specifies number of seconds to delay a fall back from cache servers to an HTTP
source for a background download.
|
Optional<Integer> |
getCacheServerForegroundDownloadFallbackToHttpDelayInSeconds()
“Specifies number of seconds to delay a fall back from cache servers to an HTTP
source for a foreground download.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getCacheServerHostNames()
“Specifies cache servers host names.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getCacheServerHostNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Specifies cache servers host names.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<WindowsDeliveryOptimizationMode> |
getDeliveryOptimizationMode()
“Specifies the download method that delivery optimization can use to manage
network bandwidth consumption for large content distribution scenarios.”
|
Optional<Long> |
getForegroundDownloadFromHttpDelayInSeconds()
“Specifying 0 sets Delivery Optimization to manage this setting using the cloud
service.
|
Optional<DeliveryOptimizationGroupIdSource> |
getGroupIdSource()
“The options set in this policy only apply to Delivery Optimization mode Group (2
) download mode.
|
Optional<Integer> |
getMaximumCacheAgeInDays()
“Specifies the maximum time in days that each file is held in the Delivery
Optimization cache after downloading successfully (0-3650).
|
Optional<DeliveryOptimizationMaxCacheSize> |
getMaximumCacheSize()
“Specifies the maximum cache size that Delivery Optimization either as a
percentage or in GB.”
|
Optional<Integer> |
getMinimumBatteryPercentageAllowedToUpload()
“The default value is 0.
|
Optional<Integer> |
getMinimumDiskSizeAllowedToPeerInGigabytes()
“Recommended values: 64 GB to 256 GB.
|
Optional<Integer> |
getMinimumFileSizeToCacheInMegabytes()
“Recommended values: 1 MB to 100,000 MB.
|
Optional<Integer> |
getMinimumRamAllowedToPeerInGigabytes()
“Specifies the minimum RAM size in GB to use Peer Caching (1-100000).
|
Optional<String> |
getModifyCacheLocation()
“Specifies the drive that Delivery Optimization should use for its cache.”
|
Optional<DeliveryOptimizationRestrictPeerSelectionByOptions> |
getRestrictPeerSelectionBy()
“Option 1 (Subnet mask) only applies to Delivery Optimization modes Download Mode
LAN (1) and Group (2).”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<Enablement> |
getVpnPeerCaching()
“Specifies whether the device is allowed to participate in Peer Caching while
connected via VPN to the domain network.”
|
String |
odataTypeName() |
WindowsDeliveryOptimizationConfiguration |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsDeliveryOptimizationConfiguration |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsDeliveryOptimizationConfiguration |
withBackgroundDownloadFromHttpDelayInSeconds(Long backgroundDownloadFromHttpDelayInSeconds)
Returns an immutable copy of
this with just the backgroundDownloadFromHttpDelayInSeconds field changed. |
WindowsDeliveryOptimizationConfiguration |
withBandwidthMode(DeliveryOptimizationBandwidth bandwidthMode)
Returns an immutable copy of
this with just the bandwidthMode
field changed. |
WindowsDeliveryOptimizationConfiguration |
withCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds)
Returns an immutable copy of
this with just the cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds field changed. |
WindowsDeliveryOptimizationConfiguration |
withCacheServerForegroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerForegroundDownloadFallbackToHttpDelayInSeconds)
Returns an immutable copy of
this with just the cacheServerForegroundDownloadFallbackToHttpDelayInSeconds field changed. |
WindowsDeliveryOptimizationConfiguration |
withDeliveryOptimizationMode(WindowsDeliveryOptimizationMode deliveryOptimizationMode)
Returns an immutable copy of
this with just the deliveryOptimizationMode field changed. |
WindowsDeliveryOptimizationConfiguration |
withForegroundDownloadFromHttpDelayInSeconds(Long foregroundDownloadFromHttpDelayInSeconds)
Returns an immutable copy of
this with just the foregroundDownloadFromHttpDelayInSeconds field changed. |
WindowsDeliveryOptimizationConfiguration |
withGroupIdSource(DeliveryOptimizationGroupIdSource groupIdSource)
Returns an immutable copy of
this with just the groupIdSource
field changed. |
WindowsDeliveryOptimizationConfiguration |
withMaximumCacheAgeInDays(Integer maximumCacheAgeInDays)
Returns an immutable copy of
this with just the maximumCacheAgeInDays field changed. |
WindowsDeliveryOptimizationConfiguration |
withMaximumCacheSize(DeliveryOptimizationMaxCacheSize maximumCacheSize)
Returns an immutable copy of
this with just the maximumCacheSize
field changed. |
WindowsDeliveryOptimizationConfiguration |
withMinimumBatteryPercentageAllowedToUpload(Integer minimumBatteryPercentageAllowedToUpload)
Returns an immutable copy of
this with just the minimumBatteryPercentageAllowedToUpload field changed. |
WindowsDeliveryOptimizationConfiguration |
withMinimumDiskSizeAllowedToPeerInGigabytes(Integer minimumDiskSizeAllowedToPeerInGigabytes)
Returns an immutable copy of
this with just the minimumDiskSizeAllowedToPeerInGigabytes field changed. |
WindowsDeliveryOptimizationConfiguration |
withMinimumFileSizeToCacheInMegabytes(Integer minimumFileSizeToCacheInMegabytes)
Returns an immutable copy of
this with just the minimumFileSizeToCacheInMegabytes field changed. |
WindowsDeliveryOptimizationConfiguration |
withMinimumRamAllowedToPeerInGigabytes(Integer minimumRamAllowedToPeerInGigabytes)
Returns an immutable copy of
this with just the minimumRamAllowedToPeerInGigabytes field changed. |
WindowsDeliveryOptimizationConfiguration |
withModifyCacheLocation(String modifyCacheLocation)
Returns an immutable copy of
this with just the modifyCacheLocation field changed. |
WindowsDeliveryOptimizationConfiguration |
withRestrictPeerSelectionBy(DeliveryOptimizationRestrictPeerSelectionByOptions restrictPeerSelectionBy)
Returns an immutable copy of
this with just the restrictPeerSelectionBy field changed. |
WindowsDeliveryOptimizationConfiguration |
withVpnPeerCaching(Enablement vpnPeerCaching)
Returns an immutable copy of
this with just the vpnPeerCaching
field changed. |
assign, assignedAccessMultiModeProfiles, getAssignments, getCreatedDateTime, getDescription, getDeviceManagementApplicabilityRuleDeviceMode, getDeviceManagementApplicabilityRuleOsEdition, getDeviceManagementApplicabilityRuleOsVersion, getDeviceSettingStateSummaries, getDeviceStatuses, getDeviceStatusOverview, getDisplayName, getGroupAssignments, getLastModifiedDateTime, getRoleScopeTagIds, getRoleScopeTagIds, getSupportsScopeTags, getUserStatuses, getUserStatusOverview, getVersion, windowsPrivacyAccessControls, withCreatedDateTime, withDescription, withDeviceManagementApplicabilityRuleDeviceMode, withDeviceManagementApplicabilityRuleOsEdition, withDeviceManagementApplicabilityRuleOsVersion, withDisplayName, withLastModifiedDateTime, withSupportsScopeTags, withVersionprotected WindowsDeliveryOptimizationMode deliveryOptimizationMode
protected DeliveryOptimizationRestrictPeerSelectionByOptions restrictPeerSelectionBy
protected DeliveryOptimizationGroupIdSource groupIdSource
protected DeliveryOptimizationBandwidth bandwidthMode
protected Long backgroundDownloadFromHttpDelayInSeconds
protected Long foregroundDownloadFromHttpDelayInSeconds
protected Integer minimumRamAllowedToPeerInGigabytes
protected Integer minimumDiskSizeAllowedToPeerInGigabytes
protected Integer minimumFileSizeToCacheInMegabytes
protected Integer minimumBatteryPercentageAllowedToUpload
protected String modifyCacheLocation
protected Integer maximumCacheAgeInDays
protected DeliveryOptimizationMaxCacheSize maximumCacheSize
protected Enablement vpnPeerCaching
protected String cacheServerHostNamesNextLink
protected Integer cacheServerForegroundDownloadFallbackToHttpDelayInSeconds
protected Integer cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds
protected WindowsDeliveryOptimizationConfiguration()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DeviceConfigurationpublic static WindowsDeliveryOptimizationConfiguration.Builder builderWindowsDeliveryOptimizationConfiguration()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DeviceConfigurationpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DeviceConfigurationpublic Optional<WindowsDeliveryOptimizationMode> getDeliveryOptimizationMode()
public WindowsDeliveryOptimizationConfiguration withDeliveryOptimizationMode(WindowsDeliveryOptimizationMode deliveryOptimizationMode)
this with just the deliveryOptimizationMode field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Specifies the download method that delivery optimization can use to manage network bandwidth consumption for large content distribution scenarios.”
deliveryOptimizationMode - new value of deliveryOptimizationMode field (as defined in service metadata)this with just the deliveryOptimizationMode field changedpublic Optional<DeliveryOptimizationRestrictPeerSelectionByOptions> getRestrictPeerSelectionBy()
public WindowsDeliveryOptimizationConfiguration withRestrictPeerSelectionBy(DeliveryOptimizationRestrictPeerSelectionByOptions restrictPeerSelectionBy)
this with just the restrictPeerSelectionBy field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.patch() is called (if available)on the returned object
only the changed fields are submitted.
“Option 1 (Subnet mask) only applies to Delivery Optimization modes Download Mode LAN (1) and Group (2).”
restrictPeerSelectionBy - new value of restrictPeerSelectionBy field (as defined in service metadata)this with just the restrictPeerSelectionBy field changedpublic Optional<DeliveryOptimizationGroupIdSource> getGroupIdSource()
public WindowsDeliveryOptimizationConfiguration withGroupIdSource(DeliveryOptimizationGroupIdSource groupIdSource)
this with just the groupIdSource
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“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.”
groupIdSource - new value of groupIdSource field (as defined in service metadata)this with just the groupIdSource field changedpublic Optional<DeliveryOptimizationBandwidth> getBandwidthMode()
public WindowsDeliveryOptimizationConfiguration withBandwidthMode(DeliveryOptimizationBandwidth bandwidthMode)
this with just the bandwidthMode
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies foreground and background bandwidth usage using percentages, absolutes , or hours.”
bandwidthMode - new value of bandwidthMode field (as defined in service metadata)this with just the bandwidthMode field changedpublic Optional<Long> getBackgroundDownloadFromHttpDelayInSeconds()
public WindowsDeliveryOptimizationConfiguration withBackgroundDownloadFromHttpDelayInSeconds(Long backgroundDownloadFromHttpDelayInSeconds)
this with just the backgroundDownloadFromHttpDelayInSeconds field changed. Field description below
. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“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”
backgroundDownloadFromHttpDelayInSeconds - new value of backgroundDownloadFromHttpDelayInSeconds field (as defined in service metadata)this with just the backgroundDownloadFromHttpDelayInSeconds field changedpublic Optional<Long> getForegroundDownloadFromHttpDelayInSeconds()
public WindowsDeliveryOptimizationConfiguration withForegroundDownloadFromHttpDelayInSeconds(Long foregroundDownloadFromHttpDelayInSeconds)
this with just the foregroundDownloadFromHttpDelayInSeconds field changed. Field description below
. The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Specifying 0 sets Delivery Optimization to manage this setting using the cloud service. Valid values 0 to 86400”
foregroundDownloadFromHttpDelayInSeconds - new value of foregroundDownloadFromHttpDelayInSeconds field (as defined in service metadata)this with just the foregroundDownloadFromHttpDelayInSeconds field changedpublic Optional<Integer> getMinimumRamAllowedToPeerInGigabytes()
public WindowsDeliveryOptimizationConfiguration withMinimumRamAllowedToPeerInGigabytes(Integer minimumRamAllowedToPeerInGigabytes)
this with just the minimumRamAllowedToPeerInGigabytes field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Specifies the minimum RAM size in GB to use Peer Caching (1-100000). Valid values 1 to 100000”
minimumRamAllowedToPeerInGigabytes - new value of minimumRamAllowedToPeerInGigabytes field (as defined in service metadata)this with just the minimumRamAllowedToPeerInGigabytes field changedpublic Optional<Integer> getMinimumDiskSizeAllowedToPeerInGigabytes()
public WindowsDeliveryOptimizationConfiguration withMinimumDiskSizeAllowedToPeerInGigabytes(Integer minimumDiskSizeAllowedToPeerInGigabytes)
this with just the minimumDiskSizeAllowedToPeerInGigabytes field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“Recommended values: 64 GB to 256 GB. Valid values 1 to 100000”
minimumDiskSizeAllowedToPeerInGigabytes - new value of minimumDiskSizeAllowedToPeerInGigabytes field (as defined in service metadata)this with just the minimumDiskSizeAllowedToPeerInGigabytes field changedpublic Optional<Integer> getMinimumFileSizeToCacheInMegabytes()
public WindowsDeliveryOptimizationConfiguration withMinimumFileSizeToCacheInMegabytes(Integer minimumFileSizeToCacheInMegabytes)
this with just the minimumFileSizeToCacheInMegabytes field changed. Field description below. The
field name is also added to an internal map of changed fields in the returned
object so that when this.patch() is called (if available)on the returned
object only the changed fields are submitted.
“Recommended values: 1 MB to 100,000 MB. Valid values 1 to 100000”
minimumFileSizeToCacheInMegabytes - new value of minimumFileSizeToCacheInMegabytes field (as defined in service metadata)this with just the minimumFileSizeToCacheInMegabytes field changedpublic Optional<Integer> getMinimumBatteryPercentageAllowedToUpload()
public WindowsDeliveryOptimizationConfiguration withMinimumBatteryPercentageAllowedToUpload(Integer minimumBatteryPercentageAllowedToUpload)
this with just the minimumBatteryPercentageAllowedToUpload field changed. Field description below.
The field name is also added to an internal map of changed fields in the
returned object so that when this.patch() is called (if available)on the
returned object only the changed fields are submitted.
“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”
minimumBatteryPercentageAllowedToUpload - new value of minimumBatteryPercentageAllowedToUpload field (as defined in service metadata)this with just the minimumBatteryPercentageAllowedToUpload field changedpublic Optional<String> getModifyCacheLocation()
public WindowsDeliveryOptimizationConfiguration withModifyCacheLocation(String modifyCacheLocation)
this with just the modifyCacheLocation field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Specifies the drive that Delivery Optimization should use for its cache.”
modifyCacheLocation - new value of modifyCacheLocation field (as defined in service metadata)this with just the modifyCacheLocation field changedpublic Optional<Integer> getMaximumCacheAgeInDays()
public WindowsDeliveryOptimizationConfiguration withMaximumCacheAgeInDays(Integer maximumCacheAgeInDays)
this with just the maximumCacheAgeInDays field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“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”
maximumCacheAgeInDays - new value of maximumCacheAgeInDays field (as defined in service metadata)this with just the maximumCacheAgeInDays field changedpublic Optional<DeliveryOptimizationMaxCacheSize> getMaximumCacheSize()
public WindowsDeliveryOptimizationConfiguration withMaximumCacheSize(DeliveryOptimizationMaxCacheSize maximumCacheSize)
this with just the maximumCacheSize
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies the maximum cache size that Delivery Optimization either as a percentage or in GB.”
maximumCacheSize - new value of maximumCacheSize field (as defined in service metadata)this with just the maximumCacheSize field changedpublic Optional<Enablement> getVpnPeerCaching()
public WindowsDeliveryOptimizationConfiguration withVpnPeerCaching(Enablement vpnPeerCaching)
this with just the vpnPeerCaching
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Specifies whether the device is allowed to participate in Peer Caching while connected via VPN to the domain network.”
vpnPeerCaching - new value of vpnPeerCaching field (as defined in service metadata)this with just the vpnPeerCaching field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getCacheServerHostNames()
public com.github.davidmoten.odata.client.CollectionPage<String> getCacheServerHostNames(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Integer> getCacheServerForegroundDownloadFallbackToHttpDelayInSeconds()
public WindowsDeliveryOptimizationConfiguration withCacheServerForegroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerForegroundDownloadFallbackToHttpDelayInSeconds)
this with just the cacheServerForegroundDownloadFallbackToHttpDelayInSeconds field changed. Field
description below. The field name is also added to an internal map of changed
fields in the returned object so that when this.patch() is called (if
available)on the returned object only the changed fields are submitted.
“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.”
cacheServerForegroundDownloadFallbackToHttpDelayInSeconds - new value of cacheServerForegroundDownloadFallbackToHttpDelayInSeconds field (as defined in service metadata)this with just the cacheServerForegroundDownloadFallbackToHttpDelayInSeconds field changedpublic Optional<Integer> getCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds()
public WindowsDeliveryOptimizationConfiguration withCacheServerBackgroundDownloadFallbackToHttpDelayInSeconds(Integer cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds)
this with just the cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds field changed. Field
description below. The field name is also added to an internal map of changed
fields in the returned object so that when this.patch() is called (if
available)on the returned object only the changed fields are submitted.
“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.”
cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds - new value of cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds field (as defined in service metadata)this with just the cacheServerBackgroundDownloadFallbackToHttpDelayInSeconds field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DeviceConfigurationpublic WindowsDeliveryOptimizationConfiguration patch()
this with changed fields reset.patch in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic WindowsDeliveryOptimizationConfiguration put()
this
with changed fields reset (they were ignored anyway).put in class DeviceConfigurationthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DeviceConfigurationCopyright © 2018–2020. All rights reserved.