com.microsoft.azure.management.network.ApplicationGatewayFirewallRule 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. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* A web application firewall rule.
*/
public class ApplicationGatewayFirewallRule {
/**
* The identifier of the web application firewall rule.
*/
@JsonProperty(value = "ruleId", required = true)
private int ruleId;
/**
* The description of the web application firewall rule.
*/
@JsonProperty(value = "description")
private String description;
/**
* Get the identifier of the web application firewall rule.
*
* @return the ruleId value
*/
public int ruleId() {
return this.ruleId;
}
/**
* Set the identifier of the web application firewall rule.
*
* @param ruleId the ruleId value to set
* @return the ApplicationGatewayFirewallRule object itself.
*/
public ApplicationGatewayFirewallRule withRuleId(int ruleId) {
this.ruleId = ruleId;
return this;
}
/**
* Get the description of the web application firewall rule.
*
* @return the description value
*/
public String description() {
return this.description;
}
/**
* Set the description of the web application firewall rule.
*
* @param description the description value to set
* @return the ApplicationGatewayFirewallRule object itself.
*/
public ApplicationGatewayFirewallRule withDescription(String description) {
this.description = description;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy