Class UrlRedirectAction
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.DeliveryRuleAction
-
- com.azure.resourcemanager.cdn.models.UrlRedirectAction
-
public final class UrlRedirectAction extends DeliveryRuleAction
Defines the url redirect action for the delivery rule.
-
-
Constructor Summary
Constructors Constructor Description UrlRedirectAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlRedirectActionParametersparameters()Get the parameters property: Defines the parameters for the action.voidvalidate()Validates the instance.UrlRedirectActionwithParameters(UrlRedirectActionParameters parameters)Set the parameters property: Defines the parameters for the action.
-
-
-
Method Detail
-
parameters
public UrlRedirectActionParameters parameters()
Get the parameters property: Defines the parameters for the action.- Returns:
- the parameters value.
-
withParameters
public UrlRedirectAction withParameters(UrlRedirectActionParameters parameters)
Set the parameters property: Defines the parameters for the action.- Parameters:
parameters- the parameters value to set.- Returns:
- the UrlRedirectAction object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDeliveryRuleAction- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-