Package com.vmware.nsx_policy.model
Class VlanVniRangePair.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VlanVniRangePair.Builder
-
- Enclosing class:
- VlanVniRangePair
public static final class VlanVniRangePair.Builder extends java.lang.Object
Builder class forVlanVniRangePair
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVlanVniRangePair
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VlanVniRangePair
build()
VlanVniRangePair.Builder
setVlans(java.lang.String vlans)
List of VLAN ids and VLAN ranges (specified with '-').VlanVniRangePair.Builder
setVnis(java.lang.String vnis)
List of VNI ids and VNI ranges (specified with '-').
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVlanVniRangePair
.
-
-
Method Detail
-
setVlans
public VlanVniRangePair.Builder setVlans(java.lang.String vlans)
List of VLAN ids and VLAN ranges (specified with '-').- Parameters:
vlans
- New value for the property.
-
setVnis
public VlanVniRangePair.Builder setVnis(java.lang.String vnis)
List of VNI ids and VNI ranges (specified with '-'). The vni id is used for VXLAN transmission for a given tenant Vlan ID in ROUTE-SERVER Evpn.- Parameters:
vnis
- New value for the property.
-
build
public VlanVniRangePair build()
-
-