Class AzureFirewallApplicationRule
java.lang.Object
com.azure.resourcemanager.network.models.AzureFirewallApplicationRule
Properties of an application rule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureFirewallApplicationRule class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the rule.fqdnTags()Get the fqdnTags property: List of FQDN Tags for this rule.name()Get the name property: Name of the application rule.Get the protocols property: Array of ApplicationRuleProtocols.Get the sourceAddresses property: List of source IP addresses for this rule.Get the sourceIpGroups property: List of source IpGroups for this rule.Get the targetFqdns property: List of FQDNs for this rule.voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the rule.withFqdnTags(List<String> fqdnTags) Set the fqdnTags property: List of FQDN Tags for this rule.Set the name property: Name of the application rule.withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols) Set the protocols property: Array of ApplicationRuleProtocols.withSourceAddresses(List<String> sourceAddresses) Set the sourceAddresses property: List of source IP addresses for this rule.withSourceIpGroups(List<String> sourceIpGroups) Set the sourceIpGroups property: List of source IpGroups for this rule.withTargetFqdns(List<String> targetFqdns) Set the targetFqdns property: List of FQDNs for this rule.
-
Constructor Details
-
AzureFirewallApplicationRule
public AzureFirewallApplicationRule()Creates an instance of AzureFirewallApplicationRule class.
-
-
Method Details
-
name
Get the name property: Name of the application rule.- Returns:
- the name value.
-
withName
Set the name property: Name of the application rule.- Parameters:
name- the name value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
description
Get the description property: Description of the rule.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the rule.- Parameters:
description- the description value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
sourceAddresses
Get the sourceAddresses property: List of source IP addresses for this rule.- Returns:
- the sourceAddresses value.
-
withSourceAddresses
Set the sourceAddresses property: List of source IP addresses for this rule.- Parameters:
sourceAddresses- the sourceAddresses value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
protocols
Get the protocols property: Array of ApplicationRuleProtocols.- Returns:
- the protocols value.
-
withProtocols
public AzureFirewallApplicationRule withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols) Set the protocols property: Array of ApplicationRuleProtocols.- Parameters:
protocols- the protocols value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
targetFqdns
Get the targetFqdns property: List of FQDNs for this rule.- Returns:
- the targetFqdns value.
-
withTargetFqdns
Set the targetFqdns property: List of FQDNs for this rule.- Parameters:
targetFqdns- the targetFqdns value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
fqdnTags
Get the fqdnTags property: List of FQDN Tags for this rule.- Returns:
- the fqdnTags value.
-
withFqdnTags
Set the fqdnTags property: List of FQDN Tags for this rule.- Parameters:
fqdnTags- the fqdnTags value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
sourceIpGroups
Get the sourceIpGroups property: List of source IpGroups for this rule.- Returns:
- the sourceIpGroups value.
-
withSourceIpGroups
Set the sourceIpGroups property: List of source IpGroups for this rule.- Parameters:
sourceIpGroups- the sourceIpGroups value to set.- Returns:
- the AzureFirewallApplicationRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-