Partager via


IpAddressRange Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.IpAddressRange

Implements

public final class IpAddressRange
implements JsonSerializable<IpAddressRange>

The ip address range.

Constructor Summary

Constructor Description
IpAddressRange()

Creates an instance of IpAddressRange class.

Method Summary

Modifier and Type Method and Description
String addressRange()

Get the addressRange property: The IP address range.

static IpAddressRange fromJson(JsonReader jsonReader)

Reads an instance of IpAddressRange from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IpAddressRange withAddressRange(String addressRange)

Set the addressRange property: The IP address range.

Methods inherited from java.lang.Object

Constructor Details

IpAddressRange

public IpAddressRange()

Creates an instance of IpAddressRange class.

Method Details

addressRange

public String addressRange()

Get the addressRange property: The IP address range.

Returns:

the addressRange value.

fromJson

public static IpAddressRange fromJson(JsonReader jsonReader)

Reads an instance of IpAddressRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IpAddressRange 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 IpAddressRange.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddressRange

public IpAddressRange withAddressRange(String addressRange)

Set the addressRange property: The IP address range.

Parameters:

addressRange - the addressRange value to set.

Returns:

the IpAddressRange object itself.

Applies to