Class CacheExpirationActionParameters

java.lang.Object
com.microsoft.azure.management.cdn.CacheExpirationActionParameters

public class CacheExpirationActionParameters extends Object
Defines the parameters for the cache expiration action.
  • Constructor Details

    • CacheExpirationActionParameters

      public CacheExpirationActionParameters()
      Creates an instance of CacheExpirationActionParameters class.
  • Method Details

    • odatatype

      public String odatatype()
      Get the odatatype value.
      Returns:
      the odatatype value
    • withOdatatype

      public CacheExpirationActionParameters withOdatatype(String odatatype)
      Set the odatatype value.
      Parameters:
      odatatype - the odatatype value to set
      Returns:
      the CacheExpirationActionParameters object itself.
    • cacheBehavior

      public CacheBehavior cacheBehavior()
      Get caching behavior for the requests. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'.
      Returns:
      the cacheBehavior value
    • withCacheBehavior

      public CacheExpirationActionParameters withCacheBehavior(CacheBehavior cacheBehavior)
      Set caching behavior for the requests. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'.
      Parameters:
      cacheBehavior - the cacheBehavior value to set
      Returns:
      the CacheExpirationActionParameters object itself.
    • cacheType

      public String cacheType()
      Get the level at which the content needs to be cached.
      Returns:
      the cacheType value
    • withCacheType

      public CacheExpirationActionParameters withCacheType(String cacheType)
      Set the level at which the content needs to be cached.
      Parameters:
      cacheType - the cacheType value to set
      Returns:
      the CacheExpirationActionParameters object itself.
    • cacheDuration

      public String cacheDuration()
      Get the duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.
      Returns:
      the cacheDuration value
    • withCacheDuration

      public CacheExpirationActionParameters withCacheDuration(String cacheDuration)
      Set the duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.
      Parameters:
      cacheDuration - the cacheDuration value to set
      Returns:
      the CacheExpirationActionParameters object itself.