Class DeliveryOptimizationMaxCacheSizeAbsolute

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

    public class DeliveryOptimizationMaxCacheSizeAbsolute
    extends DeliveryOptimizationMaxCacheSize
    implements com.github.davidmoten.odata.client.ODataType
    “Delivery Optimization max cache size absolute type.”
    • Field Detail

      • maximumCacheSizeInGigabytes

        protected Long maximumCacheSizeInGigabytes
    • Constructor Detail

      • DeliveryOptimizationMaxCacheSizeAbsolute

        protected DeliveryOptimizationMaxCacheSizeAbsolute()
    • Method Detail

      • getMaximumCacheSizeInGigabytes

        public Optional<Long> getMaximumCacheSizeInGigabytes()
        “The value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295”
        Returns:
        property maximumCacheSizeInGigabytes
      • withMaximumCacheSizeInGigabytes

        public DeliveryOptimizationMaxCacheSizeAbsolute withMaximumCacheSizeInGigabytes​(Long maximumCacheSizeInGigabytes)
        Returns an immutable copy of this with just the maximumCacheSizeInGigabytes 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 value 0 (zero) means "unlimited" cache. Delivery Optimization will clear the cache when the device is running low on disk space. Valid values 0 to 4294967295”

        Parameters:
        maximumCacheSizeInGigabytes - new value of maximumCacheSizeInGigabytes field (as defined in service metadata)
        Returns:
        immutable copy of this with just the maximumCacheSizeInGigabytes 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 DeliveryOptimizationMaxCacheSize
      • postInject

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

        public static DeliveryOptimizationMaxCacheSizeAbsolute.Builder builderDeliveryOptimizationMaxCacheSizeAbsolute()
        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