ApplicationGatewayFirewallRuleSet Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. models. ApplicationGatewayFirewallRuleSet
- com.
- com.
- com.
public final class ApplicationGatewayFirewallRuleSet
extends Resource
A web application firewall rule set.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayFirewallRuleSet() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
List<Application |
ruleGroups()
Get the rule |
String |
ruleSetType()
Get the rule |
String |
ruleSetVersion()
Get the rule |
List<Application |
tiers()
Get the tiers property: Tier of an application gateway that support the rule set. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Application |
withId(String id)
Set the id property: Resource ID. |
Application |
withLocation(String location) |
Application |
withRuleGroups(List<ApplicationGatewayFirewallRuleGroup> ruleGroups)
Set the rule |
Application |
withRuleSetType(String ruleSetType)
Set the rule |
Application |
withRuleSetVersion(String ruleSetVersion)
Set the rule |
Application |
withTags(Map<String,String> tags) |
Application |
withTiers(List<ApplicationGatewayTierTypes> tiers)
Set the tiers property: Tier of an application gateway that support the rule set. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayFirewallRuleSet
public ApplicationGatewayFirewallRuleSet()
Creates an instance of ApplicationGatewayFirewallRuleSet class.
Method Details
fromJson
public static ApplicationGatewayFirewallRuleSet fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFirewallRuleSet from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
ApplicationGatewayFirewallRuleSet.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ApplicationGatewayFirewallRuleSet.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the web application firewall rule set.
Returns:
ruleGroups
public List
Get the ruleGroups property: The rule groups of the web application firewall rule set.
Returns:
ruleSetType
public String ruleSetType()
Get the ruleSetType property: The type of the web application firewall rule set.
Returns:
ruleSetVersion
public String ruleSetVersion()
Get the ruleSetVersion property: The version of the web application firewall rule set type.
Returns:
tiers
public List
Get the tiers property: Tier of an application gateway that support the rule set.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayFirewallRuleSet.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ApplicationGatewayFirewallRuleSet.type()Returns:
validate
public void validate()
Validates the instance.
withId
public ApplicationGatewayFirewallRuleSet withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public ApplicationGatewayFirewallRuleSet withLocation(String location)
Overrides:
ApplicationGatewayFirewallRuleSet.withLocation(String location)Parameters:
withRuleGroups
public ApplicationGatewayFirewallRuleSet withRuleGroups(List
Set the ruleGroups property: The rule groups of the web application firewall rule set.
Parameters:
Returns:
withRuleSetType
public ApplicationGatewayFirewallRuleSet withRuleSetType(String ruleSetType)
Set the ruleSetType property: The type of the web application firewall rule set.
Parameters:
Returns:
withRuleSetVersion
public ApplicationGatewayFirewallRuleSet withRuleSetVersion(String ruleSetVersion)
Set the ruleSetVersion property: The version of the web application firewall rule set type.
Parameters:
Returns:
withTags
public ApplicationGatewayFirewallRuleSet withTags(Map
Overrides:
ApplicationGatewayFirewallRuleSet.withTags(Map<String,String> tags)Parameters:
withTiers
public ApplicationGatewayFirewallRuleSet withTiers(List
Set the tiers property: Tier of an application gateway that support the rule set.
Parameters:
Returns:
Applies to
Azure SDK for Java