| Package | Description |
|---|---|
| com.vmware.nsx.model |
| Modifier and Type | Method and Description |
|---|---|
NatRule.Builder |
NatRule.Builder.setAction(java.lang.String action)
Possible values are:
NatRule.ACTION_SNAT NatRule.ACTION_DNAT NatRule.ACTION_REFLEXIVE NatRule.ACTION_NO_SNAT NatRule.ACTION_NO_DNAT NatRule.ACTION_NAT64 Valid actions: SNAT, DNAT,
NO_SNAT, NO_DNAT, REFLEXIVE, NAT64. |
NatRule.Builder |
NatRule.Builder.setAppliedTos(java.util.List<ResourceReference> appliedTos)
Holds the list of LogicalRouterPort Ids that a NAT rule can be applied to.
|
NatRule.Builder |
NatRule.Builder.setCreateTime(java.lang.Long createTime)
Timestamp of resource creation format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setDescription(java.lang.String description)
Description of this resource
|
NatRule.Builder |
NatRule.Builder.setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
NatRule.Builder |
NatRule.Builder.setEnabled(java.lang.Boolean enabled)
Indicator to enable/disable the rule.
|
NatRule.Builder |
NatRule.Builder.setFirewallMatch(java.lang.String firewallMatch)
Possible values are:
NatRule.FIREWALL_MATCH_MATCH_EXTERNAL_ADDRESS
NatRule.FIREWALL_MATCH_MATCH_INTERNAL_ADDRESS
NatRule.FIREWALL_MATCH_BYPASS
Indicate how firewall is applied to a traffic packet. |
NatRule.Builder |
NatRule.Builder.setId(java.lang.String id)
Unique identifier of this resource
|
NatRule.Builder |
NatRule.Builder.setInternalRuleId(java.lang.String internalRuleId)
Internal NAT rule uuid for debug used in Controller and backend.
|
NatRule.Builder |
NatRule.Builder.setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NatRule.Builder |
NatRule.Builder.setLogging(java.lang.Boolean logging)
Enable/disable the logging of rule.
|
NatRule.Builder |
NatRule.Builder.setLogicalRouterId(java.lang.String logicalRouterId)
The logical router id which the nat rule runs on.
|
NatRule.Builder |
NatRule.Builder.setMatchDestinationNetwork(java.lang.String matchDestinationNetwork)
IP Address | CIDR | (null implies Any)
|
NatRule.Builder |
NatRule.Builder.setMatchService(com.vmware.vapi.bindings.Structure matchService) |
NatRule.Builder |
NatRule.Builder.setMatchSourceNetwork(java.lang.String matchSourceNetwork)
IP Address | CIDR | (null implies Any)
|
NatRule.Builder |
NatRule.Builder.setPbVpnMode(java.lang.String pbVpnMode)
Possible values are:
NatRule.PB_VPN_MODE_BYPASS NatRule.PB_VPN_MODE_EXCLUSIVE Indicate how the
rule applies to Policy-Based VPN traffic. |
NatRule.Builder |
NatRule.Builder.setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
NatRule.Builder |
NatRule.Builder.setResourceType(java.lang.String resourceType)
The type of this resource.
|
NatRule.Builder |
NatRule.Builder.setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
NatRule.Builder |
NatRule.Builder.setRulePriority(java.lang.Long rulePriority)
Ascending, valid range [0-2147483647].
|
NatRule.Builder |
NatRule.Builder.setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setSelf(SelfResourceLink self) |
NatRule.Builder |
NatRule.Builder.setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NatRule.Builder |
NatRule.Builder.setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
NatRule.Builder |
NatRule.Builder.setTranslatedNetwork(java.lang.String translatedNetwork)
The translated address for the matched IP packet.
|
NatRule.Builder |
NatRule.Builder.setTranslatedPorts(java.lang.String translatedPorts)
The translated port(s) for the mtached IP packet.
|