public class CfwNatDnatRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
CfwNatDnatRule() |
CfwNatDnatRule(CfwNatDnatRule source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get The description of NAT firewall forwarding rules.
|
String |
getIpProtocol()
Get Network protocol.
|
String |
getPrivateIpAddress()
Get Private address.
|
Long |
getPrivatePort()
Get Private port.
|
String |
getPublicIpAddress()
Get Elastic IP.
|
Long |
getPublicPort()
Get Public port.
|
void |
setDescription(String Description)
Set The description of NAT firewall forwarding rules.
|
void |
setIpProtocol(String IpProtocol)
Set Network protocol.
|
void |
setPrivateIpAddress(String PrivateIpAddress)
Set Private address.
|
void |
setPrivatePort(Long PrivatePort)
Set Private port.
|
void |
setPublicIpAddress(String PublicIpAddress)
Set Elastic IP.
|
void |
setPublicPort(Long PublicPort)
Set Public port.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CfwNatDnatRule()
public CfwNatDnatRule(CfwNatDnatRule source)
public String getIpProtocol()
public void setIpProtocol(String IpProtocol)
IpProtocol
- Network protocol. Valid values: TCP or UDP.public String getPublicIpAddress()
public void setPublicIpAddress(String PublicIpAddress)
PublicIpAddress
- Elastic IP.public Long getPublicPort()
public void setPublicPort(Long PublicPort)
PublicPort
- Public port.public String getPrivateIpAddress()
public void setPrivateIpAddress(String PrivateIpAddress)
PrivateIpAddress
- Private address.public Long getPrivatePort()
public void setPrivatePort(Long PrivatePort)
PrivatePort
- Private port.public String getDescription()
public void setDescription(String Description)
Description
- The description of NAT firewall forwarding rules.Copyright © 2024. All rights reserved.