Class SliceConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.SliceConfiguration
-
public final class SliceConfiguration extends Object
Per-slice settings.
-
-
Constructor Summary
Constructors Constructor Description SliceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataNetworkConfiguration>
dataNetworkConfigurations()
Get the dataNetworkConfigurations property: The allowed data networks and the settings to use for them.DataNetworkResourceId
defaultDataNetwork()
Get the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it.SliceResourceId
slice()
Get the slice property: A reference to the Slice that these settings apply to.void
validate()
Validates the instance.SliceConfiguration
withDataNetworkConfigurations(List<DataNetworkConfiguration> dataNetworkConfigurations)
Set the dataNetworkConfigurations property: The allowed data networks and the settings to use for them.SliceConfiguration
withDefaultDataNetwork(DataNetworkResourceId defaultDataNetwork)
Set the defaultDataNetwork property: The default data network to use if the UE does not explicitly specify it.SliceConfiguration
withSlice(SliceResourceId slice)
Set the slice property: A reference to the Slice that these settings apply to.
-
-
-
Method Detail
-
slice
public SliceResourceId slice()
Get the slice property: A reference to the Slice that these settings apply to.- Returns:
- the slice value.
-
withSlice
public SliceConfiguration withSlice(SliceResourceId slice)
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
public DataNetworkResourceId 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
public SliceConfiguration withDefaultDataNetwork(DataNetworkResourceId defaultDataNetwork)
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
public List<DataNetworkConfiguration> 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.
-
-