com.microsoft.azure.management.network.ManagedRuleGroupOverride Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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.
*/
public class ManagedRuleGroupOverride {
/**
* 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.
*/
@JsonProperty(value = "rules")
private List rules;
/**
* Get the managed rule group to override.
*
* @return the ruleGroupName value
*/
public String ruleGroupName() {
return this.ruleGroupName;
}
/**
* 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.
*
* @return the rules value
*/
public List rules() {
return this.rules;
}
/**
* 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 rules) {
this.rules = rules;
return this;
}
}