Class DeliveryOptimizationMaxCacheSizePercentage

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

    public class DeliveryOptimizationMaxCacheSizePercentage
    extends DeliveryOptimizationMaxCacheSize
    implements com.github.davidmoten.odata.client.ODataType
    “Delivery Optimization Max cache size percentage types.”
    • Field Detail

      • maximumCacheSizePercentage

        protected Integer maximumCacheSizePercentage
    • Constructor Detail

      • DeliveryOptimizationMaxCacheSizePercentage

        protected DeliveryOptimizationMaxCacheSizePercentage()
    • Method Detail

      • getMaximumCacheSizePercentage

        public Optional<Integer> getMaximumCacheSizePercentage()
        “Specifies the maximum cache size that Delivery Optimization can utilize, as a percentage of disk size (1-100). Valid values 1 to 100”
        Returns:
        property maximumCacheSizePercentage
      • withMaximumCacheSizePercentage

        public DeliveryOptimizationMaxCacheSizePercentage withMaximumCacheSizePercentage​(Integer maximumCacheSizePercentage)
        Returns an immutable copy of this with just the maximumCacheSizePercentage 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 can utilize, as a percentage of disk size (1-100). Valid values 1 to 100”

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

        public static DeliveryOptimizationMaxCacheSizePercentage.Builder builderDeliveryOptimizationMaxCacheSizePercentage()
        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