QosPortRange Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. QosPortRange
- com.
Implements
public final class QosPortRange
implements JsonSerializable<QosPortRange>
Qos Traffic Profiler Port range properties.
Constructor Summary
Constructor | Description |
---|---|
QosPortRange() |
Creates an instance of Qos |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
end()
Get the end property: Qos Port Range end. |
static
Qos |
fromJson(JsonReader jsonReader)
Reads an instance of Qos |
Integer |
start()
Get the start property: Qos Port Range start. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Qos |
withEnd(Integer end)
Set the end property: Qos Port Range end. |
Qos |
withStart(Integer start)
Set the start property: Qos Port Range start. |
Methods inherited from java.lang.Object
Constructor Details
QosPortRange
public QosPortRange()
Creates an instance of QosPortRange class.
Method Details
end
public Integer end()
Get the end property: Qos Port Range end.
Returns:
fromJson
public static QosPortRange fromJson(JsonReader jsonReader)
Reads an instance of QosPortRange from the JsonReader.
Parameters:
Returns:
Throws:
start
public Integer start()
Get the start property: Qos Port Range start.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEnd
public QosPortRange withEnd(Integer end)
Set the end property: Qos Port Range end.
Parameters:
Returns:
withStart
public QosPortRange withStart(Integer start)
Set the start property: Qos Port Range start.
Parameters:
Returns:
Applies to
Azure SDK for Java