ManagedRuleOverride Class
- java.
lang. Object - com.
microsoft. azure. management. network. ManagedRuleOverride
- com.
public class ManagedRuleOverride
Defines a managed rule group override setting.
Constructor Summary
Constructor | Description | |
---|---|---|
ManagedRuleOverride() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ruleId()
Get identifier for the managed rule. |
Managed |
state()
Get the state of the managed rule. |
Managed |
withRuleId(String ruleId)
Set identifier for the managed rule. |
Managed |
withState(ManagedRuleEnabledState state)
Set the state of the managed rule. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRuleOverride
public ManagedRuleOverride()
Method Details
ruleId
public String ruleId()
Get identifier for the managed rule.
Returns:
state
public ManagedRuleEnabledState state()
Get the state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'Disabled'.
Returns:
withRuleId
public ManagedRuleOverride withRuleId(String ruleId)
Set identifier for the managed rule.
Parameters:
Returns:
withState
public ManagedRuleOverride withState(ManagedRuleEnabledState state)
Set the state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'Disabled'.
Parameters:
Returns: