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 NatRule
description(String description)
NatRule
destinationPorts(String destinationPorts)
boolean
equals(Object o)
String
getDescription()
Description of the NAT rule.String
getDestinationPorts()
The edge gateway portInteger
getIndex()
Index in which the rule must be appliedString
getKind()
Kind of NAT: NAT44/NAT64/NAT66.String
getProtocol()
The protocol of the incoming requests.String
getSourceIPs()
The IP of the external source.String
getSourcePorts()
Ports from where the request is originating.String
getTargetLink()
A links to target load balancer or a machine's network interface where the request will be forwarded.String
getTranslatedPorts()
The machine port where the request will be forwardedString
getType()
Type of the NAT rule.int
hashCode()
NatRule
index(Integer index)
NatRule
kind(String kind)
NatRule
protocol(String protocol)
void
setDescription(String description)
void
setDestinationPorts(String destinationPorts)
void
setIndex(Integer index)
void
setKind(String kind)
void
setProtocol(String protocol)
void
setSourceIPs(String sourceIPs)
void
setSourcePorts(String sourcePorts)
void
setTargetLink(String targetLink)
void
setTranslatedPorts(String translatedPorts)
void
setType(String type)
NatRule
sourceIPs(String sourceIPs)
NatRule
sourcePorts(String sourcePorts)
NatRule
targetLink(String targetLink)
String
toString()
NatRule
translatedPorts(String translatedPorts)
NatRule
type(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
-