public final class AzureFirewallApplicationRule extends Object
| Constructor and Description |
|---|
AzureFirewallApplicationRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Description of the rule.
|
List<String> |
fqdnTags()
Get the fqdnTags property: List of FQDN Tags for this rule.
|
String |
name()
Get the name property: Name of the application rule.
|
List<AzureFirewallApplicationRuleProtocol> |
protocols()
Get the protocols property: Array of ApplicationRuleProtocols.
|
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.
|
List<String> |
targetFqdns()
Get the targetFqdns property: List of FQDNs for this rule.
|
void |
validate()
Validates the instance.
|
AzureFirewallApplicationRule |
withDescription(String description)
Set the description property: Description of the rule.
|
AzureFirewallApplicationRule |
withFqdnTags(List<String> fqdnTags)
Set the fqdnTags property: List of FQDN Tags for this rule.
|
AzureFirewallApplicationRule |
withName(String name)
Set the name property: Name of the application rule.
|
AzureFirewallApplicationRule |
withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols)
Set the protocols property: Array of ApplicationRuleProtocols.
|
AzureFirewallApplicationRule |
withSourceAddresses(List<String> sourceAddresses)
Set the sourceAddresses property: List of source IP addresses for this rule.
|
AzureFirewallApplicationRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set the sourceIpGroups property: List of source IpGroups for this rule.
|
AzureFirewallApplicationRule |
withTargetFqdns(List<String> targetFqdns)
Set the targetFqdns property: List of FQDNs for this rule.
|
public String name()
public AzureFirewallApplicationRule withName(String name)
name - the name value to set.public String description()
public AzureFirewallApplicationRule withDescription(String description)
description - the description value to set.public List<String> sourceAddresses()
public AzureFirewallApplicationRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to set.public List<AzureFirewallApplicationRuleProtocol> protocols()
public AzureFirewallApplicationRule withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols)
protocols - the protocols value to set.public List<String> targetFqdns()
public AzureFirewallApplicationRule withTargetFqdns(List<String> targetFqdns)
targetFqdns - the targetFqdns value to set.public List<String> fqdnTags()
public AzureFirewallApplicationRule withFqdnTags(List<String> fqdnTags)
fqdnTags - the fqdnTags value to set.public List<String> sourceIpGroups()
public AzureFirewallApplicationRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.