Class PccRuleConfiguration

java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.PccRuleConfiguration

public final class PccRuleConfiguration extends Object
Data flow policy rule configuration.
  • Constructor Details

    • PccRuleConfiguration

      public PccRuleConfiguration()
  • Method Details

    • ruleName

      public String 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

      public PccRuleConfiguration withRuleName(String ruleName)
      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

      public PccRuleConfiguration 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. 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

      public PccRuleQosPolicy 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

      public PccRuleConfiguration withRuleQosPolicy(PccRuleQosPolicy ruleQosPolicy)
      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

      public TrafficControlPermission trafficControl()
      Get the trafficControl property: Determines whether flows that match this data flow policy rule are permitted.
      Returns:
      the trafficControl value.
    • withTrafficControl

      public PccRuleConfiguration withTrafficControl(TrafficControlPermission trafficControl)
      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

      public List<ServiceDataFlowTemplate> 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.