public class AzureFirewallNetworkRule extends Object
| Constructor and Description |
|---|
AzureFirewallNetworkRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get description of the rule.
|
List<String> |
destinationAddresses()
Get list of destination IP addresses.
|
List<String> |
destinationFqdns()
Get list of destination FQDNs.
|
List<String> |
destinationIpGroups()
Get list of destination IpGroups for this rule.
|
List<String> |
destinationPorts()
Get list of destination ports.
|
String |
name()
Get name of the network rule.
|
List<AzureFirewallNetworkRuleProtocol> |
protocols()
Get array of AzureFirewallNetworkRuleProtocols.
|
List<String> |
sourceAddresses()
Get list of source IP addresses for this rule.
|
List<String> |
sourceIpGroups()
Get list of source IpGroups for this rule.
|
AzureFirewallNetworkRule |
withDescription(String description)
Set description of the rule.
|
AzureFirewallNetworkRule |
withDestinationAddresses(List<String> destinationAddresses)
Set list of destination IP addresses.
|
AzureFirewallNetworkRule |
withDestinationFqdns(List<String> destinationFqdns)
Set list of destination FQDNs.
|
AzureFirewallNetworkRule |
withDestinationIpGroups(List<String> destinationIpGroups)
Set list of destination IpGroups for this rule.
|
AzureFirewallNetworkRule |
withDestinationPorts(List<String> destinationPorts)
Set list of destination ports.
|
AzureFirewallNetworkRule |
withName(String name)
Set name of the network rule.
|
AzureFirewallNetworkRule |
withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
Set array of AzureFirewallNetworkRuleProtocols.
|
AzureFirewallNetworkRule |
withSourceAddresses(List<String> sourceAddresses)
Set list of source IP addresses for this rule.
|
AzureFirewallNetworkRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set list of source IpGroups for this rule.
|
public String name()
public AzureFirewallNetworkRule withName(String name)
name - the name value to setpublic String description()
public AzureFirewallNetworkRule withDescription(String description)
description - the description value to setpublic List<AzureFirewallNetworkRuleProtocol> protocols()
public AzureFirewallNetworkRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
protocols - the protocols value to setpublic List<String> sourceAddresses()
public AzureFirewallNetworkRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to setpublic List<String> destinationAddresses()
public AzureFirewallNetworkRule withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to setpublic List<String> destinationPorts()
public AzureFirewallNetworkRule withDestinationPorts(List<String> destinationPorts)
destinationPorts - the destinationPorts value to setpublic List<String> destinationFqdns()
public AzureFirewallNetworkRule withDestinationFqdns(List<String> destinationFqdns)
destinationFqdns - the destinationFqdns value to setpublic List<String> sourceIpGroups()
public AzureFirewallNetworkRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to setpublic List<String> destinationIpGroups()
public AzureFirewallNetworkRule withDestinationIpGroups(List<String> destinationIpGroups)
destinationIpGroups - the destinationIpGroups value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/