Class SimStaticIpProperties


  • public final class SimStaticIpProperties
    extends Object
    Static IP configuration for a sim, scoped to a particular attached data network and slice.
    • Constructor Detail

      • SimStaticIpProperties

        public SimStaticIpProperties()
    • 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.