共用方式為


ManagedRuleOverride Class

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

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.

ManagedRuleEnabledState state()

Get the state of the managed rule.

ManagedRuleOverride withRuleId(String ruleId)

Set identifier for the managed rule.

ManagedRuleOverride withState(ManagedRuleEnabledState state)

Set the state of the managed rule.

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

ManagedRuleOverride

public ManagedRuleOverride()

Method Details

ruleId

public String ruleId()

Get identifier for the managed rule.

Returns:

the ruleId value

state

public ManagedRuleEnabledState state()

Get the state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'Disabled'.

Returns:

the state value

withRuleId

public ManagedRuleOverride withRuleId(String ruleId)

Set identifier for the managed rule.

Parameters:

ruleId - the ruleId value to set

Returns:

the ManagedRuleOverride object itself.

withState

public ManagedRuleOverride withState(ManagedRuleEnabledState state)

Set the state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'Disabled'.

Parameters:

state - the state value to set

Returns:

the ManagedRuleOverride object itself.

Applies to