Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Defines a managed rule group override setting.
/** * Defines a managed rule group override setting. */
public class ManagedRuleGroupOverride {
The managed rule group to override.
/** * The managed rule group to override. */
@JsonProperty(value = "ruleGroupName", required = true) private String ruleGroupName;
List of rules that will be disabled. If none specified, all rules in the group will be disabled.
/** * List of rules that will be disabled. If none specified, all rules in the * group will be disabled. */
@JsonProperty(value = "rules") private List<ManagedRuleOverride> rules;
Get the managed rule group to override.
Returns:the ruleGroupName value
/** * Get the managed rule group to override. * * @return the ruleGroupName value */
public String ruleGroupName() { return this.ruleGroupName; }
Set the managed rule group to override.
Params:
  • ruleGroupName – the ruleGroupName value to set
Returns:the ManagedRuleGroupOverride object itself.
/** * Set the managed rule group to override. * * @param ruleGroupName the ruleGroupName value to set * @return the ManagedRuleGroupOverride object itself. */
public ManagedRuleGroupOverride withRuleGroupName(String ruleGroupName) { this.ruleGroupName = ruleGroupName; return this; }
Get list of rules that will be disabled. If none specified, all rules in the group will be disabled.
Returns:the rules value
/** * Get list of rules that will be disabled. If none specified, all rules in the group will be disabled. * * @return the rules value */
public List<ManagedRuleOverride> rules() { return this.rules; }
Set list of rules that will be disabled. If none specified, all rules in the group will be disabled.
Params:
  • rules – the rules value to set
Returns:the ManagedRuleGroupOverride object itself.
/** * Set list of rules that will be disabled. If none specified, all rules in the group will be disabled. * * @param rules the rules value to set * @return the ManagedRuleGroupOverride object itself. */
public ManagedRuleGroupOverride withRules(List<ManagedRuleOverride> rules) { this.rules = rules; return this; } }