AzureFirewallPublicIpAddress Class

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

Implements

public final class AzureFirewallPublicIpAddress
implements JsonSerializable<AzureFirewallPublicIpAddress>

Public IP Address associated with azure firewall.

Constructor Summary

Constructor Description
AzureFirewallPublicIpAddress()

Creates an instance of AzureFirewallPublicIpAddress class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: Public IP Address value.

static AzureFirewallPublicIpAddress fromJson(JsonReader jsonReader)

Reads an instance of AzureFirewallPublicIpAddress from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureFirewallPublicIpAddress withAddress(String address)

Set the address property: Public IP Address value.

Methods inherited from java.lang.Object

Constructor Details

AzureFirewallPublicIpAddress

public AzureFirewallPublicIpAddress()

Creates an instance of AzureFirewallPublicIpAddress class.

Method Details

address

public String address()

Get the address property: Public IP Address value.

Returns:

the address value.

fromJson

public static AzureFirewallPublicIpAddress fromJson(JsonReader jsonReader)

Reads an instance of AzureFirewallPublicIpAddress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddress

public AzureFirewallPublicIpAddress withAddress(String address)

Set the address property: Public IP Address value.

Parameters:

address - the address value to set.

Returns:

the AzureFirewallPublicIpAddress object itself.

Applies to