Class ManagedRuleSetDefinitionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.cdn.fluent.models.ManagedRuleSetDefinitionInner
-
public final class ManagedRuleSetDefinitionInner extends com.azure.core.management.ProxyResourceDescribes a managed rule set definition.
-
-
Constructor Summary
Constructors Constructor Description ManagedRuleSetDefinitionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringprovisioningState()Get the provisioningState property: Provisioning state of the managed rule set.List<ManagedRuleGroupDefinition>ruleGroups()Get the ruleGroups property: Rule groups of the managed rule set.StringruleSetType()Get the ruleSetType property: Type of the managed rule set.StringruleSetVersion()Get the ruleSetVersion property: Version of the managed rule set type.Skusku()Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.com.azure.core.management.SystemDatasystemData()Get the systemData property: Read only system data.voidvalidate()Validates the instance.ManagedRuleSetDefinitionInnerwithSku(Sku sku)Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.- Returns:
- the sku value.
-
withSku
public ManagedRuleSetDefinitionInner withSku(Sku sku)
Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.- Parameters:
sku- the sku value to set.- Returns:
- the ManagedRuleSetDefinitionInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the managed rule set.- Returns:
- the provisioningState value.
-
ruleSetType
public String ruleSetType()
Get the ruleSetType property: Type of the managed rule set.- Returns:
- the ruleSetType value.
-
ruleSetVersion
public String ruleSetVersion()
Get the ruleSetVersion property: Version of the managed rule set type.- Returns:
- the ruleSetVersion value.
-
ruleGroups
public List<ManagedRuleGroupDefinition> ruleGroups()
Get the ruleGroups property: Rule groups of the managed rule set.- Returns:
- the ruleGroups value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-