ApplicationRuleCondition Class

public class ApplicationRuleCondition
extends FirewallPolicyRuleCondition

Rule condition of type application.

Constructor Summary

Constructor Description
ApplicationRuleCondition()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.String> destinationAddresses()

Get list of destination IP addresses or Service Tags.

java.util.List<java.lang.String> fqdnTags()

Get list of FQDN Tags for this rule condition.

java.util.List<FirewallPolicyRuleConditionApplicationProtocol> protocols()

Get array of Application Protocols.

java.util.List<java.lang.String> sourceAddresses()

Get list of source IP addresses for this rule.

java.util.List<java.lang.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.

Methods inherited from FirewallPolicyRuleCondition

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationRuleCondition

public ApplicationRuleCondition()

Method Details

destinationAddresses

public List destinationAddresses()

Get list of destination IP addresses or Service Tags.

Returns:

the destinationAddresses value

fqdnTags

public List fqdnTags()

Get list of FQDN Tags for this rule condition.

Returns:

the fqdnTags value

protocols

public List protocols()

Get array of Application Protocols.

Returns:

the protocols value

sourceAddresses

public List sourceAddresses()

Get list of source IP addresses for this rule.

Returns:

the sourceAddresses value

targetFqdns

public List targetFqdns()

Get list of FQDNs for this rule condition.

Returns:

the targetFqdns value

withDestinationAddresses

public ApplicationRuleCondition withDestinationAddresses(List destinationAddresses)

Set list of destination IP addresses or Service Tags.

Parameters:

destinationAddresses - the destinationAddresses value to set

Returns:

the ApplicationRuleCondition object itself.

withFqdnTags

public ApplicationRuleCondition withFqdnTags(List fqdnTags)

Set list of FQDN Tags for this rule condition.

Parameters:

fqdnTags - the fqdnTags value to set

Returns:

the ApplicationRuleCondition object itself.

withProtocols

public ApplicationRuleCondition withProtocols(List protocols)

Set array of Application Protocols.

Parameters:

protocols - the protocols value to set

Returns:

the ApplicationRuleCondition object itself.

withSourceAddresses

public ApplicationRuleCondition withSourceAddresses(List sourceAddresses)

Set list of source IP addresses for this rule.

Parameters:

sourceAddresses - the sourceAddresses value to set

Returns:

the ApplicationRuleCondition object itself.

withTargetFqdns

public ApplicationRuleCondition withTargetFqdns(List targetFqdns)

Set list of FQDNs for this rule condition.

Parameters:

targetFqdns - the targetFqdns value to set

Returns:

the ApplicationRuleCondition object itself.

Applies to