public static class EdgeGatewayNATResponse.NatRule extends Object
Constructor and Description |
---|
NatRule() |
NatRule(Long ruleId,
Long ruleTag,
boolean loggingEnabled,
boolean enabled,
String description,
String translatedAddress,
String ruleType,
NatActionType action,
Integer vnic,
String originalAddress,
String dnatMatchSourceAddress,
String snatMatchDestinationAddress,
String protocol,
NatIcmpType icmpType,
String originalPort,
String translatedPort,
String dnatMatchSourcePort,
String snatMatchDestinationPort) |
Modifier and Type | Method and Description |
---|---|
NatActionType |
getAction()
Get the NAT rule action type.
|
String |
getDescription()
Get the description of the NAT rule.
|
String |
getDnatMatchSourceAddress()
Get the DNAT match source address of the NAT rule.
|
String |
getDnatMatchSourcePort()
Get the DNAT match source port of the NAT rule.
|
NatIcmpType |
getIcmpType()
Gets the ICMP type of the NAT rule.
|
String |
getOriginalAddress()
Get the original address of the NAT rule.
|
String |
getOriginalPort()
Get the original port of the NAT rule.
|
String |
getProtocol()
Get the protocol of the NAT rule.
|
Long |
getRuleId()
Get the rule id of the NAT rule.
|
Long |
getRuleTag()
Get the rule tag of the NAT rule.
|
String |
getRuleType()
Get the rule type of the NAT rule.
|
String |
getSnatMatchDestinationAddress()
Get the SNAT match destination address of the NAT rule.i
|
String |
getSnatMatchDestinationPort()
Get the SNAT match destination port of the NAT rule.
|
String |
getTranslatedAddress()
Get the translated address.
|
String |
getTranslatedPort()
Get the translated port of the NAT rule.
|
Integer |
getVnic()
Get the vnic of the NAT rule.
|
boolean |
isEnabled()
Whether or not the NAT rule is enabled.
|
boolean |
isLoggingEnabled()
Whether or not the logging is enabled for the NAT rule.
|
public NatRule()
public NatRule(Long ruleId, Long ruleTag, boolean loggingEnabled, boolean enabled, String description, String translatedAddress, String ruleType, NatActionType action, Integer vnic, String originalAddress, String dnatMatchSourceAddress, String snatMatchDestinationAddress, String protocol, NatIcmpType icmpType, String originalPort, String translatedPort, String dnatMatchSourcePort, String snatMatchDestinationPort)
public boolean isLoggingEnabled()
public boolean isEnabled()
public String getDescription()
String
description of the nat rulepublic String getTranslatedAddress()
Specify any, an IP address (e.g. 192.168.10.10), an IP range (e.g. 192.168.10.10-192.168.10.19), or a subnet in CIDR notation (e.g. 192.168.10.1/24). Default is any.
String
translated addresspublic String getRuleType()
String
rule typepublic NatActionType getAction()
NatActionType
nat action typepublic Integer getVnic()
Interface on which the translating is applied. nat64 is supported.
String
vnic NAT rulepublic String getOriginalAddress()
Original address or address range. This is the source address for SNAT rules, and the destination address for DNAT rules. Specify any, an IP address (e.g. 192.168.10.10), an IP range (e.g. 192.168.10.10-192.168.10.19), or a subnet in CIDR notation (e.g. 192.168.10.1/24). Default is any.
String
original address of the nat rulepublic String getDnatMatchSourceAddress()
Source address to match in DNAT rules. Specify any, an IP address (e.g. 192.168.10.10), an IP range (e.g. 192.168.10.10-192.168.10.19), or a subnet in CIDR notation (e.g. 192.168.10.1/24). Default is any. Not valid for SNAT rules.
String
DNAT match source addresspublic String getSnatMatchDestinationAddress()
Destination address to match in SNAT rules. Specify any, an IP address (e.g. 192.168.10.10), an IP range (e.g. 192.168.10.10-192.168.10.19), or a subnet in CIDR notation (e.g. 192.168.10.1/24). Default is any. Not valid for DNAT rules.
String
SNAT match destination addresspublic String getProtocol()
String
protocol NAT rulepublic NatIcmpType getIcmpType()
Only supported when protocol is icmp.
NatIcmpType
ICMP type NAT rulepublic String getOriginalPort()
String
original port of NAT rulepublic String getTranslatedPort()
String
translated portpublic String getDnatMatchSourcePort()
String
dnat match source portCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.