IpPrefixesListInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.IpPrefixesListInner

Implements

public final class IpPrefixesListInner
implements JsonSerializable<IpPrefixesListInner>

List of SNAT IP Prefixes learnt by firewall to not SNAT.

Constructor Summary

Constructor Description
IpPrefixesListInner()

Creates an instance of IpPrefixesListInner class.

Method Summary

Modifier and Type Method and Description
static IpPrefixesListInner fromJson(JsonReader jsonReader)

Reads an instance of IpPrefixesListInner from the JsonReader.

List<String> ipPrefixes()

Get the ipPrefixes property: IP Prefix value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IpPrefixesListInner withIpPrefixes(List<String> ipPrefixes)

Set the ipPrefixes property: IP Prefix value.

Methods inherited from java.lang.Object

Constructor Details

IpPrefixesListInner

public IpPrefixesListInner()

Creates an instance of IpPrefixesListInner class.

Method Details

fromJson

public static IpPrefixesListInner fromJson(JsonReader jsonReader)

Reads an instance of IpPrefixesListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipPrefixes

public List ipPrefixes()

Get the ipPrefixes property: IP Prefix value.

Returns:

the ipPrefixes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpPrefixes

public IpPrefixesListInner withIpPrefixes(List ipPrefixes)

Set the ipPrefixes property: IP Prefix value.

Parameters:

ipPrefixes - the ipPrefixes value to set.

Returns:

the IpPrefixesListInner object itself.

Applies to