public final class AzureFirewallNetworkRule extends Object
| Constructor and Description |
|---|
AzureFirewallNetworkRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Description of the rule.
|
List<String> |
destinationAddresses()
Get the destinationAddresses property: List of destination IP addresses.
|
List<String> |
destinationFqdns()
Get the destinationFqdns property: List of destination FQDNs.
|
List<String> |
destinationIpGroups()
Get the destinationIpGroups property: List of destination IpGroups for this rule.
|
List<String> |
destinationPorts()
Get the destinationPorts property: List of destination ports.
|
String |
name()
Get the name property: Name of the network rule.
|
List<AzureFirewallNetworkRuleProtocol> |
protocols()
Get the protocols property: Array of AzureFirewallNetworkRuleProtocols.
|
List<String> |
sourceAddresses()
Get the sourceAddresses property: List of source IP addresses for this rule.
|
List<String> |
sourceIpGroups()
Get the sourceIpGroups property: List of source IpGroups for this rule.
|
void |
validate()
Validates the instance.
|
AzureFirewallNetworkRule |
withDescription(String description)
Set the description property: Description of the rule.
|
AzureFirewallNetworkRule |
withDestinationAddresses(List<String> destinationAddresses)
Set the destinationAddresses property: List of destination IP addresses.
|
AzureFirewallNetworkRule |
withDestinationFqdns(List<String> destinationFqdns)
Set the destinationFqdns property: List of destination FQDNs.
|
AzureFirewallNetworkRule |
withDestinationIpGroups(List<String> destinationIpGroups)
Set the destinationIpGroups property: List of destination IpGroups for this rule.
|
AzureFirewallNetworkRule |
withDestinationPorts(List<String> destinationPorts)
Set the destinationPorts property: List of destination ports.
|
AzureFirewallNetworkRule |
withName(String name)
Set the name property: Name of the network rule.
|
AzureFirewallNetworkRule |
withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
Set the protocols property: Array of AzureFirewallNetworkRuleProtocols.
|
AzureFirewallNetworkRule |
withSourceAddresses(List<String> sourceAddresses)
Set the sourceAddresses property: List of source IP addresses for this rule.
|
AzureFirewallNetworkRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set the sourceIpGroups property: List of source IpGroups for this rule.
|
public String name()
public AzureFirewallNetworkRule withName(String name)
name - the name value to set.public String description()
public AzureFirewallNetworkRule withDescription(String description)
description - the description value to set.public List<AzureFirewallNetworkRuleProtocol> protocols()
public AzureFirewallNetworkRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
protocols - the protocols value to set.public List<String> sourceAddresses()
public AzureFirewallNetworkRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to set.public List<String> destinationAddresses()
public AzureFirewallNetworkRule withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to set.public List<String> destinationPorts()
public AzureFirewallNetworkRule withDestinationPorts(List<String> destinationPorts)
destinationPorts - the destinationPorts value to set.public List<String> destinationFqdns()
public AzureFirewallNetworkRule withDestinationFqdns(List<String> destinationFqdns)
destinationFqdns - the destinationFqdns value to set.public List<String> sourceIpGroups()
public AzureFirewallNetworkRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to set.public List<String> destinationIpGroups()
public AzureFirewallNetworkRule withDestinationIpGroups(List<String> destinationIpGroups)
destinationIpGroups - the destinationIpGroups value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.