com.microsoft.azure.management.network.ApplicationGatewayFirewallDisabledRuleGroup 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. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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;
/**
* Allows to disable rules within a rule group or an entire rule group.
*/
public class ApplicationGatewayFirewallDisabledRuleGroup {
/**
* The name of the rule group that will be disabled.
*/
@JsonProperty(value = "ruleGroupName", required = true)
private String ruleGroupName;
/**
* The list of rules that will be disabled. If null, all rules of the rule
* group will be disabled.
*/
@JsonProperty(value = "rules")
private List rules;
/**
* Get the ruleGroupName value.
*
* @return the ruleGroupName value
*/
public String ruleGroupName() {
return this.ruleGroupName;
}
/**
* Set the ruleGroupName value.
*
* @param ruleGroupName the ruleGroupName value to set
* @return the ApplicationGatewayFirewallDisabledRuleGroup object itself.
*/
public ApplicationGatewayFirewallDisabledRuleGroup withRuleGroupName(String ruleGroupName) {
this.ruleGroupName = ruleGroupName;
return this;
}
/**
* Get the rules value.
*
* @return the rules value
*/
public List rules() {
return this.rules;
}
/**
* Set the rules value.
*
* @param rules the rules value to set
* @return the ApplicationGatewayFirewallDisabledRuleGroup object itself.
*/
public ApplicationGatewayFirewallDisabledRuleGroup withRules(List rules) {
this.rules = rules;
return this;
}
}