HubPublicIpAddresses Class

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

Implements

public final class HubPublicIpAddresses
implements JsonSerializable<HubPublicIpAddresses>

Public IP addresses associated with azure firewall.

Constructor Summary

Constructor Description
HubPublicIpAddresses()

Creates an instance of HubPublicIpAddresses class.

Method Summary

Modifier and Type Method and Description
List<AzureFirewallPublicIpAddress> addresses()

Get the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.

Integer count()

Get the count property: The number of Public IP addresses associated with azure firewall.

static HubPublicIpAddresses fromJson(JsonReader jsonReader)

Reads an instance of HubPublicIpAddresses from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HubPublicIpAddresses withAddresses(List<AzureFirewallPublicIpAddress> addresses)

Set the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.

HubPublicIpAddresses withCount(Integer count)

Set the count property: The number of Public IP addresses associated with azure firewall.

Methods inherited from java.lang.Object

Constructor Details

HubPublicIpAddresses

public HubPublicIpAddresses()

Creates an instance of HubPublicIpAddresses class.

Method Details

addresses

public List addresses()

Get the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.

Returns:

the addresses value.

count

public Integer count()

Get the count property: The number of Public IP addresses associated with azure firewall.

Returns:

the count value.

fromJson

public static HubPublicIpAddresses fromJson(JsonReader jsonReader)

Reads an instance of HubPublicIpAddresses from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddresses

public HubPublicIpAddresses withAddresses(List addresses)

Set the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.

Parameters:

addresses - the addresses value to set.

Returns:

the HubPublicIpAddresses object itself.

withCount

public HubPublicIpAddresses withCount(Integer count)

Set the count property: The number of Public IP addresses associated with azure firewall.

Parameters:

count - the count value to set.

Returns:

the HubPublicIpAddresses object itself.

Applies to