Class DataNetworkConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.DataNetworkConfiguration
-
public final class DataNetworkConfiguration extends Object
Settings controlling Data Network use.
-
-
Constructor Summary
Constructors Constructor Description DataNetworkConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PduSessionType>
additionalAllowedSessionTypes()
Get the additionalAllowedSessionTypes property: Allowed session types in addition to the default session type.Integer
allocationAndRetentionPriorityLevel()
Get the allocationAndRetentionPriorityLevel property: Default QoS Flow allocation and retention priority (ARP) level.List<ServiceResourceId>
allowedServices()
Get the allowedServices property: List of Services that can be used as part of this Sim Policy.DataNetworkResourceId
dataNetwork()
Get the dataNetwork property: A reference to the Data Network that these settings apply to.PduSessionType
defaultSessionType()
Get the defaultSessionType property: The default PDU session type, which is used if the UE does not request a specific session type.Integer
fiveQi()
Get the fiveQi property: Default QoS Flow 5G QoS Indicator value.PreemptionCapability
preemptionCapability()
Get the preemptionCapability property: Default QoS Flow preemption capability.PreemptionVulnerability
preemptionVulnerability()
Get the preemptionVulnerability property: Default QoS Flow preemption vulnerability.Ambr
sessionAmbr()
Get the sessionAmbr property: Aggregate maximum bit rate across all non-GBR QoS flows of a given PDU session.void
validate()
Validates the instance.DataNetworkConfiguration
withAdditionalAllowedSessionTypes(List<PduSessionType> additionalAllowedSessionTypes)
Set the additionalAllowedSessionTypes property: Allowed session types in addition to the default session type.DataNetworkConfiguration
withAllocationAndRetentionPriorityLevel(Integer allocationAndRetentionPriorityLevel)
Set the allocationAndRetentionPriorityLevel property: Default QoS Flow allocation and retention priority (ARP) level.DataNetworkConfiguration
withAllowedServices(List<ServiceResourceId> allowedServices)
Set the allowedServices property: List of Services that can be used as part of this Sim Policy.DataNetworkConfiguration
withDataNetwork(DataNetworkResourceId dataNetwork)
Set the dataNetwork property: A reference to the Data Network that these settings apply to.DataNetworkConfiguration
withDefaultSessionType(PduSessionType defaultSessionType)
Set the defaultSessionType property: The default PDU session type, which is used if the UE does not request a specific session type.DataNetworkConfiguration
withFiveQi(Integer fiveQi)
Set the fiveQi property: Default QoS Flow 5G QoS Indicator value.DataNetworkConfiguration
withPreemptionCapability(PreemptionCapability preemptionCapability)
Set the preemptionCapability property: Default QoS Flow preemption capability.DataNetworkConfiguration
withPreemptionVulnerability(PreemptionVulnerability preemptionVulnerability)
Set the preemptionVulnerability property: Default QoS Flow preemption vulnerability.DataNetworkConfiguration
withSessionAmbr(Ambr sessionAmbr)
Set the sessionAmbr property: Aggregate maximum bit rate across all non-GBR QoS flows of a given PDU session.
-
-
-
Method Detail
-
dataNetwork
public DataNetworkResourceId dataNetwork()
Get the dataNetwork property: A reference to the Data Network that these settings apply to.- Returns:
- the dataNetwork value.
-
withDataNetwork
public DataNetworkConfiguration withDataNetwork(DataNetworkResourceId dataNetwork)
Set the dataNetwork property: A reference to the Data Network that these settings apply to.- Parameters:
dataNetwork
- the dataNetwork value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
sessionAmbr
public Ambr sessionAmbr()
Get the sessionAmbr property: Aggregate maximum bit rate across all non-GBR QoS flows of a given PDU session. See 3GPP TS23.501 section 5.7.2.6 for a full description of the Session-AMBR.- Returns:
- the sessionAmbr value.
-
withSessionAmbr
public DataNetworkConfiguration withSessionAmbr(Ambr sessionAmbr)
Set the sessionAmbr property: Aggregate maximum bit rate across all non-GBR QoS flows of a given PDU session. See 3GPP TS23.501 section 5.7.2.6 for a full description of the Session-AMBR.- Parameters:
sessionAmbr
- the sessionAmbr value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
fiveQi
public Integer fiveQi()
Get the fiveQi property: Default 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.- Returns:
- the fiveQi value.
-
withFiveQi
public DataNetworkConfiguration withFiveQi(Integer fiveQi)
Set the fiveQi property: Default 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.- Parameters:
fiveQi
- the fiveQi value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
allocationAndRetentionPriorityLevel
public Integer allocationAndRetentionPriorityLevel()
Get the allocationAndRetentionPriorityLevel property: Default 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 DataNetworkConfiguration withAllocationAndRetentionPriorityLevel(Integer allocationAndRetentionPriorityLevel)
Set the allocationAndRetentionPriorityLevel property: Default 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 DataNetworkConfiguration object itself.
-
preemptionCapability
public PreemptionCapability preemptionCapability()
Get the preemptionCapability property: Default 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
public DataNetworkConfiguration withPreemptionCapability(PreemptionCapability preemptionCapability)
Set the preemptionCapability property: Default 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 DataNetworkConfiguration object itself.
-
preemptionVulnerability
public PreemptionVulnerability preemptionVulnerability()
Get the preemptionVulnerability property: Default 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.- Returns:
- the preemptionVulnerability value.
-
withPreemptionVulnerability
public DataNetworkConfiguration withPreemptionVulnerability(PreemptionVulnerability preemptionVulnerability)
Set the preemptionVulnerability property: Default 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.- Parameters:
preemptionVulnerability
- the preemptionVulnerability value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
defaultSessionType
public PduSessionType defaultSessionType()
Get the defaultSessionType property: The default PDU session type, which is used if the UE does not request a specific session type.- Returns:
- the defaultSessionType value.
-
withDefaultSessionType
public DataNetworkConfiguration withDefaultSessionType(PduSessionType defaultSessionType)
Set the defaultSessionType property: The default PDU session type, which is used if the UE does not request a specific session type.- Parameters:
defaultSessionType
- the defaultSessionType value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
additionalAllowedSessionTypes
public List<PduSessionType> additionalAllowedSessionTypes()
Get the additionalAllowedSessionTypes property: Allowed session types in addition to the default session type. Must not duplicate the default session type.- Returns:
- the additionalAllowedSessionTypes value.
-
withAdditionalAllowedSessionTypes
public DataNetworkConfiguration withAdditionalAllowedSessionTypes(List<PduSessionType> additionalAllowedSessionTypes)
Set the additionalAllowedSessionTypes property: Allowed session types in addition to the default session type. Must not duplicate the default session type.- Parameters:
additionalAllowedSessionTypes
- the additionalAllowedSessionTypes value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
allowedServices
public List<ServiceResourceId> allowedServices()
Get the allowedServices property: List of Services that can be used as part of this Sim Policy. The list must not contain duplicate items and must contain at least one item.- Returns:
- the allowedServices value.
-
withAllowedServices
public DataNetworkConfiguration withAllowedServices(List<ServiceResourceId> allowedServices)
Set the allowedServices property: List of Services that can be used as part of this Sim Policy. The list must not contain duplicate items and must contain at least one item.- Parameters:
allowedServices
- the allowedServices value to set.- Returns:
- the DataNetworkConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-