Class FirewallPolicyNatRule

java.lang.Object
com.microsoft.azure.management.network.FirewallPolicyRule
com.microsoft.azure.management.network.FirewallPolicyNatRule

public class FirewallPolicyNatRule extends FirewallPolicyRule
Firewall Policy NAT Rule.
  • Constructor Details

    • FirewallPolicyNatRule

      public FirewallPolicyNatRule()
  • Method Details

    • action

      public FirewallPolicyNatRuleAction 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

      public String translatedAddress()
      Get the translated address for this NAT rule.
      Returns:
      the translatedAddress value
    • withTranslatedAddress

      public FirewallPolicyNatRule withTranslatedAddress(String translatedAddress)
      Set the translated address for this NAT rule.
      Parameters:
      translatedAddress - the translatedAddress value to set
      Returns:
      the FirewallPolicyNatRule object itself.
    • translatedPort

      public String translatedPort()
      Get the translated port for this NAT rule.
      Returns:
      the translatedPort value
    • withTranslatedPort

      public FirewallPolicyNatRule withTranslatedPort(String translatedPort)
      Set the translated port for this NAT rule.
      Parameters:
      translatedPort - the translatedPort value to set
      Returns:
      the FirewallPolicyNatRule object itself.
    • ruleCondition

      public FirewallPolicyRuleCondition ruleCondition()
      Get the match conditions for incoming traffic.
      Returns:
      the ruleCondition value
    • withRuleCondition

      public FirewallPolicyNatRule withRuleCondition(FirewallPolicyRuleCondition ruleCondition)
      Set the match conditions for incoming traffic.
      Parameters:
      ruleCondition - the ruleCondition value to set
      Returns:
      the FirewallPolicyNatRule object itself.