Class RouteConfigurationOverrideActionParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.RouteConfigurationOverrideActionParameters
Defines the parameters for the route configuration override action.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RouteConfigurationOverrideActionParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cacheConfiguration property: The caching configuration associated with this rule.Get the originGroupOverride property: A reference to the origin group override configuration.typeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.withCacheConfiguration(CacheConfiguration cacheConfiguration) Set the cacheConfiguration property: The caching configuration associated with this rule.withOriginGroupOverride(OriginGroupOverride originGroupOverride) Set the originGroupOverride property: A reference to the origin group override configuration.withTypeName(String typeName) Set the typeName property: The typeName property.
-
Constructor Details
-
RouteConfigurationOverrideActionParameters
public RouteConfigurationOverrideActionParameters()Creates an instance of RouteConfigurationOverrideActionParameters class.
-
-
Method Details
-
typeName
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName value to set.- Returns:
- the RouteConfigurationOverrideActionParameters object itself.
-
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
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.
-