你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QosIpRange Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.QosIpRange

Implements

public final class QosIpRange
implements JsonSerializable<QosIpRange>

Qos Traffic Profiler IP Range properties.

Constructor Summary

Constructor Description
QosIpRange()

Creates an instance of QosIpRange class.

Method Summary

Modifier and Type Method and Description
String endIp()

Get the endIp property: End IP Address.

static QosIpRange fromJson(JsonReader jsonReader)

Reads an instance of QosIpRange from the JsonReader.

String startIp()

Get the startIp property: Start IP Address.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QosIpRange withEndIp(String endIp)

Set the endIp property: End IP Address.

QosIpRange withStartIp(String startIp)

Set the startIp property: Start IP Address.

Methods inherited from java.lang.Object

Constructor Details

QosIpRange

public QosIpRange()

Creates an instance of QosIpRange class.

Method Details

endIp

public String endIp()

Get the endIp property: End IP Address.

Returns:

the endIp value.

fromJson

public static QosIpRange fromJson(JsonReader jsonReader)

Reads an instance of QosIpRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of QosIpRange if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the QosIpRange.

startIp

public String startIp()

Get the startIp property: Start IP Address.

Returns:

the startIp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEndIp

public QosIpRange withEndIp(String endIp)

Set the endIp property: End IP Address.

Parameters:

endIp - the endIp value to set.

Returns:

the QosIpRange object itself.

withStartIp

public QosIpRange withStartIp(String startIp)

Set the startIp property: Start IP Address.

Parameters:

startIp - the startIp value to set.

Returns:

the QosIpRange object itself.

Applies to