Class DeviceProperties


  • public final class DeviceProperties
    extends Object
    List of properties of the device.
    • Constructor Detail

      • DeviceProperties

        public DeviceProperties()
    • Method Detail

      • deviceVendor

        public String deviceVendor()
        Get the deviceVendor property: Name of the device Vendor.
        Returns:
        the deviceVendor value.
      • withDeviceVendor

        public DeviceProperties withDeviceVendor​(String deviceVendor)
        Set the deviceVendor property: Name of the device Vendor.
        Parameters:
        deviceVendor - the deviceVendor value to set.
        Returns:
        the DeviceProperties object itself.
      • deviceModel

        public String deviceModel()
        Get the deviceModel property: Model of the device.
        Returns:
        the deviceModel value.
      • withDeviceModel

        public DeviceProperties withDeviceModel​(String deviceModel)
        Set the deviceModel property: Model of the device.
        Parameters:
        deviceModel - the deviceModel value to set.
        Returns:
        the DeviceProperties object itself.
      • linkSpeedInMbps

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

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

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