Class DeliveryOptimizationBandwidthPercentage

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class DeliveryOptimizationBandwidthPercentage
    extends DeliveryOptimizationBandwidth
    implements com.github.davidmoten.odata.client.ODataType
    “Bandwidth limits specified as a percentage.”
    • Field Detail

      • maximumBackgroundBandwidthPercentage

        protected Integer maximumBackgroundBandwidthPercentage
      • maximumForegroundBandwidthPercentage

        protected Integer maximumForegroundBandwidthPercentage
    • Constructor Detail

      • DeliveryOptimizationBandwidthPercentage

        protected DeliveryOptimizationBandwidthPercentage()
    • Method Detail

      • getMaximumBackgroundBandwidthPercentage

        public Optional<Integer> getMaximumBackgroundBandwidthPercentage()
        “The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for background downloads. Valid values 0 to 100”
        Returns:
        property maximumBackgroundBandwidthPercentage
      • withMaximumBackgroundBandwidthPercentage

        public DeliveryOptimizationBandwidthPercentage withMaximumBackgroundBandwidthPercentage​(Integer maximumBackgroundBandwidthPercentage)
        Returns an immutable copy of this with just the maximumBackgroundBandwidthPercentage 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 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for background downloads. Valid values 0 to 100”

        Parameters:
        maximumBackgroundBandwidthPercentage - new value of maximumBackgroundBandwidthPercentage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the maximumBackgroundBandwidthPercentage field changed
      • getMaximumForegroundBandwidthPercentage

        public Optional<Integer> getMaximumForegroundBandwidthPercentage()
        “The default value 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. Valid values 0 to 100”
        Returns:
        property maximumForegroundBandwidthPercentage
      • withMaximumForegroundBandwidthPercentage

        public DeliveryOptimizationBandwidthPercentage withMaximumForegroundBandwidthPercentage​(Integer maximumForegroundBandwidthPercentage)
        Returns an immutable copy of this with just the maximumForegroundBandwidthPercentage 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 0 (zero) means that Delivery Optimization dynamically adjusts to use the available bandwidth for foreground downloads. Valid values 0 to 100”

        Parameters:
        maximumForegroundBandwidthPercentage - new value of maximumForegroundBandwidthPercentage field (as defined in service metadata)
        Returns:
        immutable copy of this with just the maximumForegroundBandwidthPercentage field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DeliveryOptimizationBandwidth
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DeliveryOptimizationBandwidth
      • builderDeliveryOptimizationBandwidthPercentage

        public static DeliveryOptimizationBandwidthPercentage.Builder builderDeliveryOptimizationBandwidthPercentage()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class