Class QosPolicy
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.QosPolicy
- Direct Known Subclasses:
PccRuleQosPolicy
QoS policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allocationAndRetentionPriorityLevel property: QoS Flow allocation and retention priority (ARP) level.fiveQi()
Get the fiveQi property: QoS Flow 5G QoS Indicator value.Get the maximumBitRate property: The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.Get the preemptionCapability property: QoS Flow preemption capability.Get the preemptionVulnerability property: QoS Flow preemption vulnerability.void
validate()
Validates the instance.withAllocationAndRetentionPriorityLevel
(Integer allocationAndRetentionPriorityLevel) Set the allocationAndRetentionPriorityLevel property: QoS Flow allocation and retention priority (ARP) level.withFiveQi
(Integer fiveQi) Set the fiveQi property: QoS Flow 5G QoS Indicator value.withMaximumBitRate
(Ambr maximumBitRate) Set the maximumBitRate property: The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.withPreemptionCapability
(PreemptionCapability preemptionCapability) Set the preemptionCapability property: QoS Flow preemption capability.withPreemptionVulnerability
(PreemptionVulnerability preemptionVulnerability) Set the preemptionVulnerability property: QoS Flow preemption vulnerability.
-
Constructor Details
-
QosPolicy
public QosPolicy()
-
-
Method Details
-
fiveQi
Get the fiveQi property: QoS Flow 5G QoS Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. This must not be a standardized 5QI value corresponding to a GBR (guaranteed bit rate) QoS Flow. The illegal GBR 5QI values are: 1, 2, 3, 4, 65, 66, 67, 71, 72, 73, 74, 75, 76, 82, 83, 84, and 85. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5QI parameter, and table 5.7.4-1 for the definition of which are the GBR 5QI values.- Returns:
- the fiveQi value.
-
withFiveQi
Set the fiveQi property: QoS Flow 5G QoS Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. This must not be a standardized 5QI value corresponding to a GBR (guaranteed bit rate) QoS Flow. The illegal GBR 5QI values are: 1, 2, 3, 4, 65, 66, 67, 71, 72, 73, 74, 75, 76, 82, 83, 84, and 85. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5QI parameter, and table 5.7.4-1 for the definition of which are the GBR 5QI values.- Parameters:
fiveQi
- the fiveQi value to set.- Returns:
- the QosPolicy object itself.
-
allocationAndRetentionPriorityLevel
Get the allocationAndRetentionPriorityLevel property: QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of `preemptionCapability` and `preemptionVulnerability` allow it. 1 is the highest level of priority. If this field is not specified then `5qi` is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Returns:
- the allocationAndRetentionPriorityLevel value.
-
withAllocationAndRetentionPriorityLevel
public QosPolicy withAllocationAndRetentionPriorityLevel(Integer allocationAndRetentionPriorityLevel) Set the allocationAndRetentionPriorityLevel property: QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of `preemptionCapability` and `preemptionVulnerability` allow it. 1 is the highest level of priority. If this field is not specified then `5qi` is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Parameters:
allocationAndRetentionPriorityLevel
- the allocationAndRetentionPriorityLevel value to set.- Returns:
- the QosPolicy object itself.
-
preemptionCapability
Get the preemptionCapability property: QoS Flow preemption capability. The preemption capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Returns:
- the preemptionCapability value.
-
withPreemptionCapability
Set the preemptionCapability property: QoS Flow preemption capability. The preemption capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Parameters:
preemptionCapability
- the preemptionCapability value to set.- Returns:
- the QosPolicy object itself.
-
preemptionVulnerability
Get the preemptionVulnerability property: QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Returns:
- the preemptionVulnerability value.
-
withPreemptionVulnerability
Set the preemptionVulnerability property: QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Parameters:
preemptionVulnerability
- the preemptionVulnerability value to set.- Returns:
- the QosPolicy object itself.
-
maximumBitRate
Get the maximumBitRate property: The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.- Returns:
- the maximumBitRate value.
-
withMaximumBitRate
Set the maximumBitRate property: The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.- Parameters:
maximumBitRate
- the maximumBitRate value to set.- Returns:
- the QosPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-