Class PccRuleConfiguration
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.PccRuleConfiguration
Data flow policy rule configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionruleName()
Get the ruleName property: The name of the rule.int
Get the rulePrecedence property: A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM.Get the ruleQosPolicy property: The QoS policy to use for packets matching this rule.Get the serviceDataFlowTemplates property: The set of data flow templates to use for this data flow policy rule.Get the trafficControl property: Determines whether flows that match this data flow policy rule are permitted.void
validate()
Validates the instance.withRuleName
(String ruleName) Set the ruleName property: The name of the rule.withRulePrecedence
(int rulePrecedence) Set the rulePrecedence property: A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM.withRuleQosPolicy
(PccRuleQosPolicy ruleQosPolicy) Set the ruleQosPolicy property: The QoS policy to use for packets matching this rule.withServiceDataFlowTemplates
(List<ServiceDataFlowTemplate> serviceDataFlowTemplates) Set the serviceDataFlowTemplates property: The set of data flow templates to use for this data flow policy rule.withTrafficControl
(TrafficControlPermission trafficControl) Set the trafficControl property: Determines whether flows that match this data flow policy rule are permitted.
-
Constructor Details
-
PccRuleConfiguration
public PccRuleConfiguration()
-
-
Method Details
-
ruleName
Get the ruleName property: The name of the rule. This must be unique within the parent service. You must not use any of the following reserved strings - `default`, `requested` or `service`.- Returns:
- the ruleName value.
-
withRuleName
Set the ruleName property: The name of the rule. This must be unique within the parent service. You must not use any of the following reserved strings - `default`, `requested` or `service`.- Parameters:
ruleName
- the ruleName value to set.- Returns:
- the PccRuleConfiguration object itself.
-
rulePrecedence
public int rulePrecedence()Get the rulePrecedence property: A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM. A lower value means a higher priority. This value should be unique among all data flow policy rules configured in the mobile network.- Returns:
- the rulePrecedence value.
-
withRulePrecedence
Set the rulePrecedence property: A precedence value that is used to decide between data flow policy rules when identifying the QoS values to use for a particular SIM. A lower value means a higher priority. This value should be unique among all data flow policy rules configured in the mobile network.- Parameters:
rulePrecedence
- the rulePrecedence value to set.- Returns:
- the PccRuleConfiguration object itself.
-
ruleQosPolicy
Get the ruleQosPolicy property: The QoS policy to use for packets matching this rule. If this field is null then the parent service will define the QoS settings.- Returns:
- the ruleQosPolicy value.
-
withRuleQosPolicy
Set the ruleQosPolicy property: The QoS policy to use for packets matching this rule. If this field is null then the parent service will define the QoS settings.- Parameters:
ruleQosPolicy
- the ruleQosPolicy value to set.- Returns:
- the PccRuleConfiguration object itself.
-
trafficControl
Get the trafficControl property: Determines whether flows that match this data flow policy rule are permitted.- Returns:
- the trafficControl value.
-
withTrafficControl
Set the trafficControl property: Determines whether flows that match this data flow policy rule are permitted.- Parameters:
trafficControl
- the trafficControl value to set.- Returns:
- the PccRuleConfiguration object itself.
-
serviceDataFlowTemplates
Get the serviceDataFlowTemplates property: The set of data flow templates to use for this data flow policy rule.- Returns:
- the serviceDataFlowTemplates value.
-
withServiceDataFlowTemplates
public PccRuleConfiguration withServiceDataFlowTemplates(List<ServiceDataFlowTemplate> serviceDataFlowTemplates) Set the serviceDataFlowTemplates property: The set of data flow templates to use for this data flow policy rule.- Parameters:
serviceDataFlowTemplates
- the serviceDataFlowTemplates value to set.- Returns:
- the PccRuleConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-