Class QosPortRange
- java.lang.Object
-
- com.azure.resourcemanager.network.models.QosPortRange
-
public final class QosPortRange extends Object
Qos Traffic Profiler Port range properties.
-
-
Constructor Summary
Constructors Constructor Description QosPortRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerend()Get the end property: Qos Port Range end.Integerstart()Get the start property: Qos Port Range start.voidvalidate()Validates the instance.QosPortRangewithEnd(Integer end)Set the end property: Qos Port Range end.QosPortRangewithStart(Integer start)Set the start property: Qos Port Range start.
-
-
-
Method Detail
-
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.
-
-