Class HubPublicIpAddresses
- java.lang.Object
-
- com.azure.resourcemanager.network.models.HubPublicIpAddresses
-
public final class HubPublicIpAddresses extends Object
Public IP addresses associated with azure firewall.
-
-
Constructor Summary
Constructors Constructor Description HubPublicIpAddresses()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AzureFirewallPublicIpAddress>addresses()Get the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.Integercount()Get the count property: The number of Public IP addresses associated with azure firewall.voidvalidate()Validates the instance.HubPublicIpAddresseswithAddresses(List<AzureFirewallPublicIpAddress> addresses)Set the addresses property: The list of Public IP addresses associated with azure firewall or IP addresses to be retained.HubPublicIpAddresseswithCount(Integer count)Set the count property: The number of Public IP addresses associated with azure firewall.
-
-
-
Method Detail
-
addresses
public List<AzureFirewallPublicIpAddress> 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
public 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.- Parameters:
addresses- the addresses value to set.- Returns:
- the HubPublicIpAddresses object itself.
-
count
public Integer count()
Get the count property: The number of Public IP addresses associated with azure firewall.- Returns:
- the count value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-