public final class AzureFirewallNatRule extends Object
| Constructor and Description |
|---|
AzureFirewallNatRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: Description of the rule.
|
List<String> |
destinationAddresses()
Get the destinationAddresses property: List of destination IP addresses for this rule.
|
List<String> |
destinationPorts()
Get the destinationPorts property: List of destination ports.
|
String |
name()
Get the name property: Name of the NAT rule.
|
List<AzureFirewallNetworkRuleProtocol> |
protocols()
Get the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
|
List<String> |
sourceAddresses()
Get the sourceAddresses property: List of source IP addresses for this rule.
|
List<String> |
sourceIpGroups()
Get the sourceIpGroups property: List of source IpGroups for this rule.
|
String |
translatedAddress()
Get the translatedAddress property: The translated address for this NAT rule.
|
String |
translatedFqdn()
Get the translatedFqdn property: The translated FQDN for this NAT rule.
|
String |
translatedPort()
Get the translatedPort property: The translated port for this NAT rule.
|
void |
validate()
Validates the instance.
|
AzureFirewallNatRule |
withDescription(String description)
Set the description property: Description of the rule.
|
AzureFirewallNatRule |
withDestinationAddresses(List<String> destinationAddresses)
Set the destinationAddresses property: List of destination IP addresses for this rule.
|
AzureFirewallNatRule |
withDestinationPorts(List<String> destinationPorts)
Set the destinationPorts property: List of destination ports.
|
AzureFirewallNatRule |
withName(String name)
Set the name property: Name of the NAT rule.
|
AzureFirewallNatRule |
withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
Set the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
|
AzureFirewallNatRule |
withSourceAddresses(List<String> sourceAddresses)
Set the sourceAddresses property: List of source IP addresses for this rule.
|
AzureFirewallNatRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set the sourceIpGroups property: List of source IpGroups for this rule.
|
AzureFirewallNatRule |
withTranslatedAddress(String translatedAddress)
Set the translatedAddress property: The translated address for this NAT rule.
|
AzureFirewallNatRule |
withTranslatedFqdn(String translatedFqdn)
Set the translatedFqdn property: The translated FQDN for this NAT rule.
|
AzureFirewallNatRule |
withTranslatedPort(String translatedPort)
Set the translatedPort property: The translated port for this NAT rule.
|
public String name()
public AzureFirewallNatRule withName(String name)
name - the name value to set.public String description()
public AzureFirewallNatRule withDescription(String description)
description - the description value to set.public List<String> sourceAddresses()
public AzureFirewallNatRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to set.public List<String> destinationAddresses()
public AzureFirewallNatRule withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to set.public List<String> destinationPorts()
public AzureFirewallNatRule withDestinationPorts(List<String> destinationPorts)
destinationPorts - the destinationPorts value to set.public List<AzureFirewallNetworkRuleProtocol> protocols()
public AzureFirewallNatRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
protocols - the protocols value to set.public String translatedAddress()
public AzureFirewallNatRule withTranslatedAddress(String translatedAddress)
translatedAddress - the translatedAddress value to set.public String translatedPort()
public AzureFirewallNatRule withTranslatedPort(String translatedPort)
translatedPort - the translatedPort value to set.public String translatedFqdn()
public AzureFirewallNatRule withTranslatedFqdn(String translatedFqdn)
translatedFqdn - the translatedFqdn value to set.public List<String> sourceIpGroups()
public AzureFirewallNatRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.