Class HubPublicIpAddresses
java.lang.Object
com.azure.resourcemanager.network.models.HubPublicIpAddresses
Public IP addresses associated with azure firewall.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.count()Get the count property: The number of Public IP addresses associated with azure firewall.voidvalidate()Validates the instance.withAddresses(List<AzureFirewallPublicIpAddress> addresses) Set the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.Set the count property: The number of Public IP addresses associated with azure firewall.
-
Constructor Details
-
HubPublicIpAddresses
public HubPublicIpAddresses()Creates an instance of HubPublicIpAddresses class.
-
-
Method Details
-
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.
-
withAddresses
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.
-
count
Get the count property: The number of Public IP addresses associated with azure firewall.- Returns:
- the count value.
-
withCount
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-