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 Details

    • SimStaticIpProperties

      public SimStaticIpProperties()
      Creates an instance of SimStaticIpProperties class.
  • Method Details

    • attachedDataNetwork

      public AttachedDataNetworkResourceId attachedDataNetwork()
      Get the attachedDataNetwork property: The attached data network on which the static IP address will be used. The combination of attached data network and slice defines the network scope of the IP address. The attached data network must be in the same location as the SIM.
      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 attached data network and slice defines the network scope of the IP address. The attached data network must be in the same location as the SIM.
      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 attached data network and slice defines the network scope of the IP address. The slice must be in the same location as the SIM.
      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 attached data network and slice defines the network scope of the IP address. The slice must be in the same location as the SIM.
      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.