com.microsoft.azure.management.network.ApplicationGatewayFirewallRuleGroup 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;
/**
* A web application firewall rule group.
*/
public class ApplicationGatewayFirewallRuleGroup {
/**
* The name of the web application firewall rule group.
*/
@JsonProperty(value = "ruleGroupName", required = true)
private String ruleGroupName;
/**
* The description of the web application firewall rule group.
*/
@JsonProperty(value = "description")
private String description;
/**
* The rules of the web application firewall rule group.
*/
@JsonProperty(value = "rules", required = true)
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 ApplicationGatewayFirewallRuleGroup object itself.
*/
public ApplicationGatewayFirewallRuleGroup withRuleGroupName(String ruleGroupName) {
this.ruleGroupName = ruleGroupName;
return this;
}
/**
* Get the description value.
*
* @return the description value
*/
public String description() {
return this.description;
}
/**
* Set the description value.
*
* @param description the description value to set
* @return the ApplicationGatewayFirewallRuleGroup object itself.
*/
public ApplicationGatewayFirewallRuleGroup withDescription(String description) {
this.description = description;
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 ApplicationGatewayFirewallRuleGroup object itself.
*/
public ApplicationGatewayFirewallRuleGroup withRules(List rules) {
this.rules = rules;
return this;
}
}