Class CacheExpirationActionParameters
java.lang.Object
com.microsoft.azure.management.cdn.CacheExpirationActionParameters
Defines the parameters for the cache expiration action.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CacheExpirationActionParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet caching behavior for the requests.Get the duration for which the content needs to be cached.Get the level at which the content needs to be cached.Get the odatatype value.withCacheBehavior
(CacheBehavior cacheBehavior) Set caching behavior for the requests.withCacheDuration
(String cacheDuration) Set the duration for which the content needs to be cached.withCacheType
(String cacheType) Set the level at which the content needs to be cached.withOdatatype
(String odatatype) Set the odatatype value.
-
Constructor Details
-
CacheExpirationActionParameters
public CacheExpirationActionParameters()Creates an instance of CacheExpirationActionParameters class.
-
-
Method Details
-
odatatype
Get the odatatype value.- Returns:
- the odatatype value
-
withOdatatype
Set the odatatype value.- Parameters:
odatatype
- the odatatype value to set- Returns:
- the CacheExpirationActionParameters object itself.
-
cacheBehavior
Get caching behavior for the requests. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'.- Returns:
- the cacheBehavior value
-
withCacheBehavior
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
Get the level at which the content needs to be cached.- Returns:
- the cacheType value
-
withCacheType
Set the level at which the content needs to be cached.- Parameters:
cacheType
- the cacheType value to set- Returns:
- the CacheExpirationActionParameters object itself.
-
cacheDuration
Get the duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss.- Returns:
- the cacheDuration value
-
withCacheDuration
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.
-