ApplicationGatewayRewriteRule Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ApplicationGatewayRewriteRule

public class ApplicationGatewayRewriteRule

Rewrite rule of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayRewriteRule()

Method Summary

Modifier and Type Method and Description
ApplicationGatewayRewriteRuleActionSet actionSet()

Get set of actions to be done as part of the rewrite Rule.

java.util.List<ApplicationGatewayRewriteRuleCondition> conditions()

Get conditions based on which the action set execution will be evaluated.

java.lang.String name()

Get name of the rewrite rule that is unique within an Application Gateway.

java.lang.Integer ruleSequence()

Get rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.

ApplicationGatewayRewriteRule withActionSet(ApplicationGatewayRewriteRuleActionSet actionSet)

Set set of actions to be done as part of the rewrite Rule.

ApplicationGatewayRewriteRule withConditions(List<ApplicationGatewayRewriteRuleCondition> conditions)

Set conditions based on which the action set execution will be evaluated.

ApplicationGatewayRewriteRule withName(String name)

Set name of the rewrite rule that is unique within an Application Gateway.

ApplicationGatewayRewriteRule withRuleSequence(Integer ruleSequence)

Set rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationGatewayRewriteRule

public ApplicationGatewayRewriteRule()

Method Details

actionSet

public ApplicationGatewayRewriteRuleActionSet actionSet()

Get set of actions to be done as part of the rewrite Rule.

Returns:

the actionSet value

conditions

public List conditions()

Get conditions based on which the action set execution will be evaluated.

Returns:

the conditions value

name

public String name()

Get name of the rewrite rule that is unique within an Application Gateway.

Returns:

the name value

ruleSequence

public Integer 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

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.

withConditions

public ApplicationGatewayRewriteRule withConditions(List 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.

withName

public ApplicationGatewayRewriteRule withName(String name)

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.

withRuleSequence

public ApplicationGatewayRewriteRule withRuleSequence(Integer ruleSequence)

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.

Applies to