Class SimStaticIpProperties
- java.lang.Object
-
- com.azure.resourcemanager.mobilenetwork.models.SimStaticIpProperties
-
public final class SimStaticIpProperties extends Object
Static IP configuration for a sim, scoped to a particular attached data network and slice.
-
-
Constructor Summary
Constructors Constructor Description SimStaticIpProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachedDataNetworkResourceId
attachedDataNetwork()
Get the attachedDataNetwork property: The attached data network on which the static IP address will be used.SliceResourceId
slice()
Get the slice property: The network slice on which the static IP address will be used.SimStaticIpPropertiesStaticIp
staticIp()
Get the staticIp property: The static IP configuration for the sim to use at the defined network scope.void
validate()
Validates the instance.SimStaticIpProperties
withAttachedDataNetwork(AttachedDataNetworkResourceId attachedDataNetwork)
Set the attachedDataNetwork property: The attached data network on which the static IP address will be used.SimStaticIpProperties
withSlice(SliceResourceId slice)
Set the slice property: The network slice on which the static IP address will be used.SimStaticIpProperties
withStaticIp(SimStaticIpPropertiesStaticIp staticIp)
Set the staticIp property: The static IP configuration for the sim to use at the defined network scope.
-
-
-
Method Detail
-
attachedDataNetwork
public AttachedDataNetworkResourceId attachedDataNetwork()
Get the attachedDataNetwork property: The attached data network on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address.- Returns:
- the attachedDataNetwork value.
-
withAttachedDataNetwork
public SimStaticIpProperties withAttachedDataNetwork(AttachedDataNetworkResourceId attachedDataNetwork)
Set the attachedDataNetwork property: The attached data network on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address.- Parameters:
attachedDataNetwork
- the attachedDataNetwork value to set.- Returns:
- the SimStaticIpProperties object itself.
-
slice
public SliceResourceId slice()
Get the slice property: The network slice on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address.- Returns:
- the slice value.
-
withSlice
public SimStaticIpProperties withSlice(SliceResourceId slice)
Set the slice property: The network slice on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address.- Parameters:
slice
- the slice value to set.- Returns:
- the SimStaticIpProperties object itself.
-
staticIp
public SimStaticIpPropertiesStaticIp staticIp()
Get the staticIp property: The static IP configuration for the sim to use at the defined network scope.- Returns:
- the staticIp value.
-
withStaticIp
public SimStaticIpProperties withStaticIp(SimStaticIpPropertiesStaticIp staticIp)
Set the staticIp property: The static IP configuration for the sim to use at the defined network scope.- Parameters:
staticIp
- the staticIp value to set.- Returns:
- the SimStaticIpProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-