public class ApplicationRuleCondition extends FirewallPolicyRuleCondition
| Constructor and Description |
|---|
ApplicationRuleCondition() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
destinationAddresses()
Get list of destination IP addresses or Service Tags.
|
List<String> |
fqdnTags()
Get list of FQDN Tags for this rule condition.
|
List<FirewallPolicyRuleConditionApplicationProtocol> |
protocols()
Get array of Application Protocols.
|
List<String> |
sourceAddresses()
Get list of source IP addresses for this rule.
|
List<String> |
targetFqdns()
Get list of FQDNs for this rule condition.
|
ApplicationRuleCondition |
withDestinationAddresses(List<String> destinationAddresses)
Set list of destination IP addresses or Service Tags.
|
ApplicationRuleCondition |
withFqdnTags(List<String> fqdnTags)
Set list of FQDN Tags for this rule condition.
|
ApplicationRuleCondition |
withProtocols(List<FirewallPolicyRuleConditionApplicationProtocol> protocols)
Set array of Application Protocols.
|
ApplicationRuleCondition |
withSourceAddresses(List<String> sourceAddresses)
Set list of source IP addresses for this rule.
|
ApplicationRuleCondition |
withTargetFqdns(List<String> targetFqdns)
Set list of FQDNs for this rule condition.
|
description, name, withDescription, withNamepublic List<String> sourceAddresses()
public ApplicationRuleCondition withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to setpublic List<String> destinationAddresses()
public ApplicationRuleCondition withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to setpublic List<FirewallPolicyRuleConditionApplicationProtocol> protocols()
public ApplicationRuleCondition withProtocols(List<FirewallPolicyRuleConditionApplicationProtocol> protocols)
protocols - the protocols value to setpublic List<String> targetFqdns()
public ApplicationRuleCondition withTargetFqdns(List<String> targetFqdns)
targetFqdns - the targetFqdns value to setpublic List<String> fqdnTags()
public ApplicationRuleCondition withFqdnTags(List<String> fqdnTags)
fqdnTags - the fqdnTags 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.
*/