Class SliceConfiguration
java.lang.Object
com.azure.resourcemanager.mobilenetwork.models.SliceConfiguration
Per-slice settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataNetworkConfigurations property: The allowed data networks and the settings to use for them.Get the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it.slice()
Get the slice property: A reference to the slice that these settings apply to.void
validate()
Validates the instance.withDataNetworkConfigurations
(List<DataNetworkConfiguration> dataNetworkConfigurations) Set the dataNetworkConfigurations property: The allowed data networks and the settings to use for them.withDefaultDataNetwork
(DataNetworkResourceId defaultDataNetwork) Set the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it.withSlice
(SliceResourceId slice) Set the slice property: A reference to the slice that these settings apply to.
-
Constructor Details
-
SliceConfiguration
public SliceConfiguration()
-
-
Method Details
-
slice
Get the slice property: A reference to the slice that these settings apply to.- Returns:
- the slice value.
-
withSlice
Set the slice property: A reference to the slice that these settings apply to.- Parameters:
slice
- the slice value to set.- Returns:
- the SliceConfiguration object itself.
-
defaultDataNetwork
Get the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map.- Returns:
- the defaultDataNetwork value.
-
withDefaultDataNetwork
Set the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map.- Parameters:
defaultDataNetwork
- the defaultDataNetwork value to set.- Returns:
- the SliceConfiguration object itself.
-
dataNetworkConfigurations
Get the dataNetworkConfigurations property: The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.- Returns:
- the dataNetworkConfigurations value.
-
withDataNetworkConfigurations
public SliceConfiguration withDataNetworkConfigurations(List<DataNetworkConfiguration> dataNetworkConfigurations) Set the dataNetworkConfigurations property: The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.- Parameters:
dataNetworkConfigurations
- the dataNetworkConfigurations value to set.- Returns:
- the SliceConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-