Class PccRuleQosPolicy
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.QosPolicy
-
- com.azure.resourcemanager.mobilenetwork.models.PccRuleQosPolicy
-
public final class PccRuleQosPolicy extends QosPolicy
PCC rule QoS policy.
-
-
Constructor Summary
Constructors Constructor Description PccRuleQosPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ambr
guaranteedBitRate()
Get the guaranteedBitRate property: The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule.void
validate()
Validates the instance.PccRuleQosPolicy
withAllocationAndRetentionPriorityLevel(Integer allocationAndRetentionPriorityLevel)
Set the allocationAndRetentionPriorityLevel property: QoS Flow allocation and retention priority (ARP) level.PccRuleQosPolicy
withFiveQi(Integer fiveQi)
Set the fiveQi property: QoS Flow 5G QoS Indicator value.PccRuleQosPolicy
withGuaranteedBitRate(Ambr guaranteedBitRate)
Set the guaranteedBitRate property: The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule.PccRuleQosPolicy
withMaximumBitRate(Ambr maximumBitRate)
Set the maximumBitRate property: The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.PccRuleQosPolicy
withPreemptionCapability(PreemptionCapability preemptionCapability)
Set the preemptionCapability property: QoS Flow preemption capability.PccRuleQosPolicy
withPreemptionVulnerability(PreemptionVulnerability preemptionVulnerability)
Set the preemptionVulnerability property: QoS Flow preemption vulnerability.-
Methods inherited from class com.azure.resourcemanager.mobilenetwork.models.QosPolicy
allocationAndRetentionPriorityLevel, fiveQi, maximumBitRate, preemptionCapability, preemptionVulnerability
-
-
-
-
Method Detail
-
guaranteedBitRate
public Ambr guaranteedBitRate()
Get the guaranteedBitRate property: The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule. This is an optional setting. If you do not provide a value, there will be no GBR set for the PCC Rule that uses this QoS definition.- Returns:
- the guaranteedBitRate value.
-
withGuaranteedBitRate
public PccRuleQosPolicy withGuaranteedBitRate(Ambr guaranteedBitRate)
Set the guaranteedBitRate property: The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule. This is an optional setting. If you do not provide a value, there will be no GBR set for the PCC Rule that uses this QoS definition.- Parameters:
guaranteedBitRate
- the guaranteedBitRate value to set.- Returns:
- the PccRuleQosPolicy object itself.
-
withFiveQi
public PccRuleQosPolicy withFiveQi(Integer fiveQi)
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 selecting a GBR (Guaranteed Bit Rate) QoS. 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.- Overrides:
withFiveQi
in classQosPolicy
- Parameters:
fiveQi
- the fiveQi value to set.- Returns:
- the QosPolicy object itself.
-
withAllocationAndRetentionPriorityLevel
public PccRuleQosPolicy 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.- Overrides:
withAllocationAndRetentionPriorityLevel
in classQosPolicy
- Parameters:
allocationAndRetentionPriorityLevel
- the allocationAndRetentionPriorityLevel value to set.- Returns:
- the QosPolicy object itself.
-
withPreemptionCapability
public PccRuleQosPolicy withPreemptionCapability(PreemptionCapability preemptionCapability)
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.- Overrides:
withPreemptionCapability
in classQosPolicy
- Parameters:
preemptionCapability
- the preemptionCapability value to set.- Returns:
- the QosPolicy object itself.
-
withPreemptionVulnerability
public PccRuleQosPolicy withPreemptionVulnerability(PreemptionVulnerability preemptionVulnerability)
Set the preemptionVulnerability property: QoS Flow preemption vulnerability. The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.- Overrides:
withPreemptionVulnerability
in classQosPolicy
- Parameters:
preemptionVulnerability
- the preemptionVulnerability value to set.- Returns:
- the QosPolicy object itself.
-
withMaximumBitRate
public PccRuleQosPolicy withMaximumBitRate(Ambr maximumBitRate)
Set the maximumBitRate property: The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.- Overrides:
withMaximumBitRate
in classQosPolicy
- Parameters:
maximumBitRate
- the maximumBitRate value to set.- Returns:
- the QosPolicy object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classQosPolicy
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-