Class VpnLinkProviderProperties


  • public final class VpnLinkProviderProperties
    extends Object
    List of properties of a link provider.
    • Constructor Detail

      • VpnLinkProviderProperties

        public VpnLinkProviderProperties()
    • Method Detail

      • linkProviderName

        public String linkProviderName()
        Get the linkProviderName property: Name of the link provider.
        Returns:
        the linkProviderName value.
      • withLinkProviderName

        public VpnLinkProviderProperties withLinkProviderName​(String linkProviderName)
        Set the linkProviderName property: Name of the link provider.
        Parameters:
        linkProviderName - the linkProviderName value to set.
        Returns:
        the VpnLinkProviderProperties object itself.
      • linkSpeedInMbps

        public Integer linkSpeedInMbps()
        Get the linkSpeedInMbps property: Link speed.
        Returns:
        the linkSpeedInMbps value.
      • withLinkSpeedInMbps

        public VpnLinkProviderProperties withLinkSpeedInMbps​(Integer linkSpeedInMbps)
        Set the linkSpeedInMbps property: Link speed.
        Parameters:
        linkSpeedInMbps - the linkSpeedInMbps value to set.
        Returns:
        the VpnLinkProviderProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.