Class QosPortRange

java.lang.Object
com.azure.resourcemanager.network.models.QosPortRange

public final class QosPortRange extends Object
Qos Traffic Profiler Port range properties.
  • Constructor Details

    • QosPortRange

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

    • start

      public Integer start()
      Get the start property: Qos Port Range start.
      Returns:
      the start value.
    • withStart

      public QosPortRange withStart(Integer start)
      Set the start property: Qos Port Range start.
      Parameters:
      start - the start value to set.
      Returns:
      the QosPortRange object itself.
    • end

      public Integer end()
      Get the end property: Qos Port Range end.
      Returns:
      the end value.
    • withEnd

      public QosPortRange withEnd(Integer end)
      Set the end property: Qos Port Range end.
      Parameters:
      end - the end value to set.
      Returns:
      the QosPortRange object itself.
    • validate

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