Class ApplicationGatewayRewriteRule
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayRewriteRule
Rewrite rule of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayRewriteRule class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionSet property: Set of actions to be done as part of the rewrite Rule.Get the conditions property: Conditions based on which the action set execution will be evaluated.name()Get the name property: Name of the rewrite rule that is unique within an Application Gateway.Get the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.voidvalidate()Validates the instance.Set the actionSet property: Set of actions to be done as part of the rewrite Rule.withConditions(List<ApplicationGatewayRewriteRuleCondition> conditions) Set the conditions property: Conditions based on which the action set execution will be evaluated.Set the name property: Name of the rewrite rule that is unique within an Application Gateway.withRuleSequence(Integer ruleSequence) Set the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
-
Constructor Details
-
ApplicationGatewayRewriteRule
public ApplicationGatewayRewriteRule()Creates an instance of ApplicationGatewayRewriteRule class.
-
-
Method Details
-
name
Get the name property: Name of the rewrite rule that is unique within an Application Gateway.- Returns:
- the name value.
-
withName
Set the name property: Name of the rewrite rule that is unique within an Application Gateway.- Parameters:
name- the name value to set.- Returns:
- the ApplicationGatewayRewriteRule object itself.
-
ruleSequence
Get the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.- Returns:
- the ruleSequence value.
-
withRuleSequence
Set the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.- Parameters:
ruleSequence- the ruleSequence value to set.- Returns:
- the ApplicationGatewayRewriteRule object itself.
-
conditions
Get the conditions property: Conditions based on which the action set execution will be evaluated.- Returns:
- the conditions value.
-
withConditions
public ApplicationGatewayRewriteRule withConditions(List<ApplicationGatewayRewriteRuleCondition> conditions) Set the conditions property: Conditions based on which the action set execution will be evaluated.- Parameters:
conditions- the conditions value to set.- Returns:
- the ApplicationGatewayRewriteRule object itself.
-
actionSet
Get the actionSet property: Set of actions to be done as part of the rewrite Rule.- Returns:
- the actionSet value.
-
withActionSet
public ApplicationGatewayRewriteRule withActionSet(ApplicationGatewayRewriteRuleActionSet actionSet) Set the actionSet property: Set of actions to be done as part of the rewrite Rule.- Parameters:
actionSet- the actionSet value to set.- Returns:
- the ApplicationGatewayRewriteRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-