Class ApplicationGatewayFirewallRuleSet
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.models.ApplicationGatewayFirewallRuleSet
-
public final class ApplicationGatewayFirewallRuleSet extends com.azure.core.management.ResourceA web application firewall rule set.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayFirewallRuleSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: Resource ID.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the web application firewall rule set.List<ApplicationGatewayFirewallRuleGroup>ruleGroups()Get the ruleGroups property: The rule groups of the web application firewall rule set.StringruleSetType()Get the ruleSetType property: The type of the web application firewall rule set.StringruleSetVersion()Get the ruleSetVersion property: The version of the web application firewall rule set type.voidvalidate()Validates the instance.ApplicationGatewayFirewallRuleSetwithId(String id)Set the id property: Resource ID.ApplicationGatewayFirewallRuleSetwithLocation(String location)ApplicationGatewayFirewallRuleSetwithRuleGroups(List<ApplicationGatewayFirewallRuleGroup> ruleGroups)Set the ruleGroups property: The rule groups of the web application firewall rule set.ApplicationGatewayFirewallRuleSetwithRuleSetType(String ruleSetType)Set the ruleSetType property: The type of the web application firewall rule set.ApplicationGatewayFirewallRuleSetwithRuleSetVersion(String ruleSetVersion)Set the ruleSetVersion property: The version of the web application firewall rule set type.ApplicationGatewayFirewallRuleSetwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public ApplicationGatewayFirewallRuleSet withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ApplicationGatewayFirewallRuleSet object itself.
-
withLocation
public ApplicationGatewayFirewallRuleSet withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ApplicationGatewayFirewallRuleSet withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the web application firewall rule set.- Returns:
- the provisioningState value.
-
ruleSetType
public String ruleSetType()
Get the ruleSetType property: The type of the web application firewall rule set.- Returns:
- the ruleSetType value.
-
withRuleSetType
public ApplicationGatewayFirewallRuleSet withRuleSetType(String ruleSetType)
Set the ruleSetType property: The type of the web application firewall rule set.- Parameters:
ruleSetType- the ruleSetType value to set.- Returns:
- the ApplicationGatewayFirewallRuleSet object itself.
-
ruleSetVersion
public String ruleSetVersion()
Get the ruleSetVersion property: The version of the web application firewall rule set type.- Returns:
- the ruleSetVersion value.
-
withRuleSetVersion
public ApplicationGatewayFirewallRuleSet withRuleSetVersion(String ruleSetVersion)
Set the ruleSetVersion property: The version of the web application firewall rule set type.- Parameters:
ruleSetVersion- the ruleSetVersion value to set.- Returns:
- the ApplicationGatewayFirewallRuleSet object itself.
-
ruleGroups
public List<ApplicationGatewayFirewallRuleGroup> ruleGroups()
Get the ruleGroups property: The rule groups of the web application firewall rule set.- Returns:
- the ruleGroups value.
-
withRuleGroups
public ApplicationGatewayFirewallRuleSet withRuleGroups(List<ApplicationGatewayFirewallRuleGroup> ruleGroups)
Set the ruleGroups property: The rule groups of the web application firewall rule set.- Parameters:
ruleGroups- the ruleGroups value to set.- Returns:
- the ApplicationGatewayFirewallRuleSet object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-