Class FirewallPolicyNatRule
java.lang.Object
com.microsoft.azure.management.network.FirewallPolicyRule
com.microsoft.azure.management.network.FirewallPolicyNatRule
Firewall Policy NAT Rule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the action type of a Nat rule.Get the match conditions for incoming traffic.Get the translated address for this NAT rule.Get the translated port for this NAT rule.Set the action type of a Nat rule.withRuleCondition
(FirewallPolicyRuleCondition ruleCondition) Set the match conditions for incoming traffic.withTranslatedAddress
(String translatedAddress) Set the translated address for this NAT rule.withTranslatedPort
(String translatedPort) Set the translated port for this NAT rule.Methods inherited from class com.microsoft.azure.management.network.FirewallPolicyRule
name, priority, withName, withPriority
-
Constructor Details
-
FirewallPolicyNatRule
public FirewallPolicyNatRule()
-
-
Method Details
-
action
Get the action type of a Nat rule.- Returns:
- the action value
-
withAction
Set the action type of a Nat rule.- Parameters:
action
- the action value to set- Returns:
- the FirewallPolicyNatRule object itself.
-
translatedAddress
Get the translated address for this NAT rule.- Returns:
- the translatedAddress value
-
withTranslatedAddress
Set the translated address for this NAT rule.- Parameters:
translatedAddress
- the translatedAddress value to set- Returns:
- the FirewallPolicyNatRule object itself.
-
translatedPort
Get the translated port for this NAT rule.- Returns:
- the translatedPort value
-
withTranslatedPort
Set the translated port for this NAT rule.- Parameters:
translatedPort
- the translatedPort value to set- Returns:
- the FirewallPolicyNatRule object itself.
-
ruleCondition
Get the match conditions for incoming traffic.- Returns:
- the ruleCondition value
-
withRuleCondition
Set the match conditions for incoming traffic.- Parameters:
ruleCondition
- the ruleCondition value to set- Returns:
- the FirewallPolicyNatRule object itself.
-