Class NatRule
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.NatRule
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class NatRule extends Object
NAT Rule
-
Constructor Summary
Constructors Constructor Description NatRule() -
Method Summary
Modifier and Type Method Description NatRuledescription(String description)NatRuledestinationPorts(String destinationPorts)booleanequals(Object o)StringgetDescription()Description of the NAT rule.StringgetDestinationPorts()The edge gateway portIntegergetIndex()Index in which the rule must be appliedStringgetKind()Kind of NAT: NAT44/NAT64/NAT66.StringgetProtocol()The protocol of the incoming requests.StringgetSourceIPs()The IP of the external source.StringgetSourcePorts()Ports from where the request is originating.StringgetTargetLink()A links to target load balancer or a machine's network interface where the request will be forwarded.StringgetTranslatedPorts()The machine port where the request will be forwardedStringgetType()Type of the NAT rule.inthashCode()NatRuleindex(Integer index)NatRulekind(String kind)NatRuleprotocol(String protocol)voidsetDescription(String description)voidsetDestinationPorts(String destinationPorts)voidsetIndex(Integer index)voidsetKind(String kind)voidsetProtocol(String protocol)voidsetSourceIPs(String sourceIPs)voidsetSourcePorts(String sourcePorts)voidsetTargetLink(String targetLink)voidsetTranslatedPorts(String translatedPorts)voidsetType(String type)NatRulesourceIPs(String sourceIPs)NatRulesourcePorts(String sourcePorts)NatRuletargetLink(String targetLink)StringtoString()NatRuletranslatedPorts(String translatedPorts)NatRuletype(String type)
-
Constructor Details
-
NatRule
public NatRule()
-
-
Method Details
-
protocol
-
getProtocol
The protocol of the incoming requests. Default is TCP.- Returns:
- protocol
-
setProtocol
-
sourceIPs
-
getSourceIPs
The IP of the external source. Default is `any`- Returns:
- sourceIPs
-
setSourceIPs
-
translatedPorts
-
getTranslatedPorts
The machine port where the request will be forwarded- Returns:
- translatedPorts
-
setTranslatedPorts
-
kind
-
getKind
Kind of NAT: NAT44/NAT64/NAT66. Only NAT44 is supported currently- Returns:
- kind
-
setKind
-
targetLink
-
getTargetLink
A links to target load balancer or a machine's network interface where the request will be forwarded.- Returns:
- targetLink
-
setTargetLink
-
destinationPorts
-
getDestinationPorts
The edge gateway port- Returns:
- destinationPorts
-
setDestinationPorts
-
index
-
getIndex
Index in which the rule must be applied- Returns:
- index
-
setIndex
-
sourcePorts
-
getSourcePorts
Ports from where the request is originating. Default is `any`- Returns:
- sourcePorts
-
setSourcePorts
-
description
-
getDescription
Description of the NAT rule.- Returns:
- description
-
setDescription
-
type
-
getType
Type of the NAT rule. Only DNAT is supported currently.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-