FirewallPolicyNatRule Class
- java.
lang. Object - com.
microsoft. azure. management. network. FirewallPolicyRule - com.
microsoft. azure. management. network. FirewallPolicyNatRule
- com.
- com.
public class FirewallPolicyNatRule
extends FirewallPolicyRule
Firewall Policy NAT Rule.
Constructor Summary
Constructor | Description | |
---|---|---|
FirewallPolicyNatRule() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Firewall |
action()
Get the action type of a Nat rule. |
Firewall |
ruleCondition()
Get the match conditions for incoming traffic. |
java.lang.String |
translatedAddress()
Get the translated address for this NAT rule. |
java.lang.String |
translatedPort()
Get the translated port for this NAT rule. |
Firewall |
withAction(FirewallPolicyNatRuleAction action)
Set the action type of a Nat rule. |
Firewall |
withRuleCondition(FirewallPolicyRuleCondition ruleCondition)
Set the match conditions for incoming traffic. |
Firewall |
withTranslatedAddress(String translatedAddress)
Set the translated address for this NAT rule. |
Firewall |
withTranslatedPort(String translatedPort)
Set the translated port for this NAT rule. |
Methods inherited from FirewallPolicyRule
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyNatRule
public FirewallPolicyNatRule()
Method Details
action
public FirewallPolicyNatRuleAction action()
Get the action type of a Nat rule.
Returns:
ruleCondition
public FirewallPolicyRuleCondition ruleCondition()
Get the match conditions for incoming traffic.
Returns:
translatedAddress
public String translatedAddress()
Get the translated address for this NAT rule.
Returns:
translatedPort
public String translatedPort()
Get the translated port for this NAT rule.
Returns:
withAction
public FirewallPolicyNatRule withAction(FirewallPolicyNatRuleAction action)
Set the action type of a Nat rule.
Parameters:
Returns:
withRuleCondition
public FirewallPolicyNatRule withRuleCondition(FirewallPolicyRuleCondition ruleCondition)
Set the match conditions for incoming traffic.
Parameters:
Returns:
withTranslatedAddress
public FirewallPolicyNatRule withTranslatedAddress(String translatedAddress)
Set the translated address for this NAT rule.
Parameters:
Returns:
withTranslatedPort
public FirewallPolicyNatRule withTranslatedPort(String translatedPort)
Set the translated port for this NAT rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor