Class DefaultRuleSetPropertyFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.DefaultRuleSetPropertyFormat
the default web application firewall rule set.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DefaultRuleSetPropertyFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ruleSetType property: The type of the web application firewall rule set.Get the ruleSetVersion property: The version of the web application firewall rule set type.voidvalidate()Validates the instance.withRuleSetType(String ruleSetType) Set the ruleSetType property: The type of the web application firewall rule set.withRuleSetVersion(String ruleSetVersion) Set the ruleSetVersion property: The version of the web application firewall rule set type.
-
Constructor Details
-
DefaultRuleSetPropertyFormat
public DefaultRuleSetPropertyFormat()Creates an instance of DefaultRuleSetPropertyFormat class.
-
-
Method Details
-
ruleSetType
Get the ruleSetType property: The type of the web application firewall rule set.- Returns:
- the ruleSetType value.
-
withRuleSetType
Set the ruleSetType property: The type of the web application firewall rule set.- Parameters:
ruleSetType- the ruleSetType value to set.- Returns:
- the DefaultRuleSetPropertyFormat object itself.
-
ruleSetVersion
Get the ruleSetVersion property: The version of the web application firewall rule set type.- Returns:
- the ruleSetVersion value.
-
withRuleSetVersion
Set the ruleSetVersion property: The version of the web application firewall rule set type.- Parameters:
ruleSetVersion- the ruleSetVersion value to set.- Returns:
- the DefaultRuleSetPropertyFormat object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-