Package com.vmware.nsx_policy.model
Class LocalEgressRoutingEntry.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LocalEgressRoutingEntry.Builder
-
- Enclosing class:
- LocalEgressRoutingEntry
public static final class LocalEgressRoutingEntry.Builder extends java.lang.Object
Builder class forLocalEgressRoutingEntry
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLocalEgressRoutingEntry
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalEgressRoutingEntry
build()
LocalEgressRoutingEntry.Builder
setNexthopAddress(java.lang.String nexthopAddress)
Next hop address for proximity routing.LocalEgressRoutingEntry.Builder
setPrefixListPaths(java.util.List<java.lang.String> prefixListPaths)
The destination address of traffic matching a prefix-list is forwarded to the nexthop_address.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLocalEgressRoutingEntry
.
-
-
Method Detail
-
setNexthopAddress
public LocalEgressRoutingEntry.Builder setNexthopAddress(java.lang.String nexthopAddress)
Next hop address for proximity routing.- Parameters:
nexthopAddress
- New value for the property.
-
setPrefixListPaths
public LocalEgressRoutingEntry.Builder setPrefixListPaths(java.util.List<java.lang.String> prefixListPaths)
The destination address of traffic matching a prefix-list is forwarded to the nexthop_address. Traffic matching a prefix list with Action DENY will be dropped. Individual prefix-lists specified could have different actions.- Parameters:
prefixListPaths
- New value for the property.
-
build
public LocalEgressRoutingEntry build()
-
-