Class RouteConfigurationOverrideActionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.RouteConfigurationOverrideActionParameters
-
public final class RouteConfigurationOverrideActionParameters extends Object
Defines the parameters for the route configuration override action.
-
-
Constructor Summary
Constructors Constructor Description RouteConfigurationOverrideActionParameters()Creates an instance of RouteConfigurationOverrideActionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheConfigurationcacheConfiguration()Get the cacheConfiguration property: The caching configuration associated with this rule.OriginGroupOverrideoriginGroupOverride()Get the originGroupOverride property: A reference to the origin group override configuration.StringtypeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.RouteConfigurationOverrideActionParameterswithCacheConfiguration(CacheConfiguration cacheConfiguration)Set the cacheConfiguration property: The caching configuration associated with this rule.RouteConfigurationOverrideActionParameterswithOriginGroupOverride(OriginGroupOverride originGroupOverride)Set the originGroupOverride property: A reference to the origin group override configuration.RouteConfigurationOverrideActionParameterswithTypeName(String typeName)Set the typeName property: The typeName property.
-
-
-
Method Detail
-
typeName
public String typeName()
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
public RouteConfigurationOverrideActionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the RouteConfigurationOverrideActionParameters object itself.
-
originGroupOverride
public OriginGroupOverride originGroupOverride()
Get the originGroupOverride property: A reference to the origin group override configuration. Leave empty to use the default origin group on route.- Returns:
- the originGroupOverride value.
-
withOriginGroupOverride
public RouteConfigurationOverrideActionParameters withOriginGroupOverride(OriginGroupOverride originGroupOverride)
Set the originGroupOverride property: A reference to the origin group override configuration. Leave empty to use the default origin group on route.- Parameters:
originGroupOverride- the originGroupOverride value to set.- Returns:
- the RouteConfigurationOverrideActionParameters object itself.
-
cacheConfiguration
public CacheConfiguration cacheConfiguration()
Get the cacheConfiguration property: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object.- Returns:
- the cacheConfiguration value.
-
withCacheConfiguration
public RouteConfigurationOverrideActionParameters withCacheConfiguration(CacheConfiguration cacheConfiguration)
Set the cacheConfiguration property: The caching configuration associated with this rule. To disable caching, do not provide a cacheConfiguration object.- Parameters:
cacheConfiguration- the cacheConfiguration value to set.- Returns:
- the RouteConfigurationOverrideActionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-