Class ApplicationGatewayRewriteRule
java.lang.Object
com.microsoft.azure.management.network.ApplicationGatewayRewriteRule
Rewrite rule of an application gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet set of actions to be done as part of the rewrite Rule.Get conditions based on which the action set execution will be evaluated.name()
Get name of the rewrite rule that is unique within an Application Gateway.Get rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.Set set of actions to be done as part of the rewrite Rule.withConditions
(List<ApplicationGatewayRewriteRuleCondition> conditions) Set conditions based on which the action set execution will be evaluated.Set name of the rewrite rule that is unique within an Application Gateway.withRuleSequence
(Integer ruleSequence) Set rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
-
Constructor Details
-
ApplicationGatewayRewriteRule
public ApplicationGatewayRewriteRule()
-
-
Method Details
-
name
Get name of the rewrite rule that is unique within an Application Gateway.- Returns:
- the name value
-
withName
Set 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 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 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 conditions based on which the action set execution will be evaluated.- Returns:
- the conditions value
-
withConditions
public ApplicationGatewayRewriteRule withConditions(List<ApplicationGatewayRewriteRuleCondition> conditions) Set 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 set of actions to be done as part of the rewrite Rule.- Returns:
- the actionSet value
-
withActionSet
public ApplicationGatewayRewriteRule withActionSet(ApplicationGatewayRewriteRuleActionSet actionSet) Set set of actions to be done as part of the rewrite Rule.- Parameters:
actionSet
- the actionSet value to set- Returns:
- the ApplicationGatewayRewriteRule object itself.
-