HubIpAddresses Class

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

Implements

public final class HubIpAddresses
implements JsonSerializable<HubIpAddresses>

IP addresses associated with azure firewall.

Constructor Summary

Constructor Description
HubIpAddresses()

Creates an instance of HubIpAddresses class.

Method Summary

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

Reads an instance of HubIpAddresses from the JsonReader.

String privateIpAddress()

Get the privateIpAddress property: Private IP Address associated with azure firewall.

HubPublicIpAddresses publicIPs()

Get the publicIPs property: Public IP addresses associated with azure firewall.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HubIpAddresses withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: Private IP Address associated with azure firewall.

HubIpAddresses withPublicIPs(HubPublicIpAddresses publicIPs)

Set the publicIPs property: Public IP addresses associated with azure firewall.

Methods inherited from java.lang.Object

Constructor Details

HubIpAddresses

public HubIpAddresses()

Creates an instance of HubIpAddresses class.

Method Details

fromJson

public static HubIpAddresses fromJson(JsonReader jsonReader)

Reads an instance of HubIpAddresses from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: Private IP Address associated with azure firewall.

Returns:

the privateIpAddress value.

publicIPs

public HubPublicIpAddresses publicIPs()

Get the publicIPs property: Public IP addresses associated with azure firewall.

Returns:

the publicIPs value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateIpAddress

public HubIpAddresses withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: Private IP Address associated with azure firewall.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the HubIpAddresses object itself.

withPublicIPs

public HubIpAddresses withPublicIPs(HubPublicIpAddresses publicIPs)

Set the publicIPs property: Public IP addresses associated with azure firewall.

Parameters:

publicIPs - the publicIPs value to set.

Returns:

the HubIpAddresses object itself.

Applies to