public class WebApplicationFirewallCustomRule extends Object
| Constructor and Description |
|---|
WebApplicationFirewallCustomRule() |
| Modifier and Type | Method and Description |
|---|---|
WebApplicationFirewallAction |
action()
Get type of Actions.
|
String |
etag()
Get a unique read-only string that changes whenever the resource is updated.
|
List<MatchCondition> |
matchConditions()
Get list of match conditions.
|
String |
name()
Get the name of the resource that is unique within a policy.
|
int |
priority()
Get priority of the rule.
|
WebApplicationFirewallRuleType |
ruleType()
Get the rule type.
|
WebApplicationFirewallCustomRule |
withAction(WebApplicationFirewallAction action)
Set type of Actions.
|
WebApplicationFirewallCustomRule |
withMatchConditions(List<MatchCondition> matchConditions)
Set list of match conditions.
|
WebApplicationFirewallCustomRule |
withName(String name)
Set the name of the resource that is unique within a policy.
|
WebApplicationFirewallCustomRule |
withPriority(int priority)
Set priority of the rule.
|
WebApplicationFirewallCustomRule |
withRuleType(WebApplicationFirewallRuleType ruleType)
Set the rule type.
|
public String name()
public WebApplicationFirewallCustomRule withName(String name)
name - the name value to setpublic String etag()
public int priority()
public WebApplicationFirewallCustomRule withPriority(int priority)
priority - the priority value to setpublic WebApplicationFirewallRuleType ruleType()
public WebApplicationFirewallCustomRule withRuleType(WebApplicationFirewallRuleType ruleType)
ruleType - the ruleType value to setpublic List<MatchCondition> matchConditions()
public WebApplicationFirewallCustomRule withMatchConditions(List<MatchCondition> matchConditions)
matchConditions - the matchConditions value to setpublic WebApplicationFirewallAction action()
public WebApplicationFirewallCustomRule withAction(WebApplicationFirewallAction action)
action - the action value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/