public class AzureFirewallNatRule extends Object
| Constructor and Description |
|---|
AzureFirewallNatRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get description of the rule.
|
List<String> |
destinationAddresses()
Get list of destination IP addresses for this rule.
|
List<String> |
destinationPorts()
Get list of destination ports.
|
String |
name()
Get name of the NAT rule.
|
List<AzureFirewallNetworkRuleProtocol> |
protocols()
Get array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
|
List<String> |
sourceAddresses()
Get list of source IP addresses for this rule.
|
List<String> |
sourceIpGroups()
Get list of source IpGroups for this rule.
|
String |
translatedAddress()
Get the translated address for this NAT rule.
|
String |
translatedFqdn()
Get the translated FQDN for this NAT rule.
|
String |
translatedPort()
Get the translated port for this NAT rule.
|
AzureFirewallNatRule |
withDescription(String description)
Set description of the rule.
|
AzureFirewallNatRule |
withDestinationAddresses(List<String> destinationAddresses)
Set list of destination IP addresses for this rule.
|
AzureFirewallNatRule |
withDestinationPorts(List<String> destinationPorts)
Set list of destination ports.
|
AzureFirewallNatRule |
withName(String name)
Set name of the NAT rule.
|
AzureFirewallNatRule |
withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
Set array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
|
AzureFirewallNatRule |
withSourceAddresses(List<String> sourceAddresses)
Set list of source IP addresses for this rule.
|
AzureFirewallNatRule |
withSourceIpGroups(List<String> sourceIpGroups)
Set list of source IpGroups for this rule.
|
AzureFirewallNatRule |
withTranslatedAddress(String translatedAddress)
Set the translated address for this NAT rule.
|
AzureFirewallNatRule |
withTranslatedFqdn(String translatedFqdn)
Set the translated FQDN for this NAT rule.
|
AzureFirewallNatRule |
withTranslatedPort(String translatedPort)
Set the translated port for this NAT rule.
|
public String name()
public AzureFirewallNatRule withName(String name)
name - the name value to setpublic String description()
public AzureFirewallNatRule withDescription(String description)
description - the description value to setpublic List<String> sourceAddresses()
public AzureFirewallNatRule withSourceAddresses(List<String> sourceAddresses)
sourceAddresses - the sourceAddresses value to setpublic List<String> destinationAddresses()
public AzureFirewallNatRule withDestinationAddresses(List<String> destinationAddresses)
destinationAddresses - the destinationAddresses value to setpublic List<String> destinationPorts()
public AzureFirewallNatRule withDestinationPorts(List<String> destinationPorts)
destinationPorts - the destinationPorts value to setpublic List<AzureFirewallNetworkRuleProtocol> protocols()
public AzureFirewallNatRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
protocols - the protocols value to setpublic String translatedAddress()
public AzureFirewallNatRule withTranslatedAddress(String translatedAddress)
translatedAddress - the translatedAddress value to setpublic String translatedPort()
public AzureFirewallNatRule withTranslatedPort(String translatedPort)
translatedPort - the translatedPort value to setpublic String translatedFqdn()
public AzureFirewallNatRule withTranslatedFqdn(String translatedFqdn)
translatedFqdn - the translatedFqdn value to setpublic List<String> sourceIpGroups()
public AzureFirewallNatRule withSourceIpGroups(List<String> sourceIpGroups)
sourceIpGroups - the sourceIpGroups value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/