Package com.vmware.nsx_policy.model
Class VrfRouteTargets.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VrfRouteTargets.Builder
-
- Enclosing class:
- VrfRouteTargets
public static final class VrfRouteTargets.Builder extends java.lang.Object
Builder class forVrfRouteTargets
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVrfRouteTargets
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VrfRouteTargets
build()
VrfRouteTargets.Builder
setAddressFamily(java.lang.String addressFamily)
Possible values are:VrfRouteTargets.ADDRESS_FAMILY_EVPN
Address family.VrfRouteTargets.Builder
setExportRouteTargets(java.util.List<java.lang.String> exportRouteTargets)
VrfRouteTargets.Builder
setImportRouteTargets(java.util.List<java.lang.String> importRouteTargets)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVrfRouteTargets
.
-
-
Method Detail
-
setAddressFamily
public VrfRouteTargets.Builder setAddressFamily(java.lang.String addressFamily)
Possible values are: Address family.- Parameters:
addressFamily
- New value for the property.
-
setExportRouteTargets
public VrfRouteTargets.Builder setExportRouteTargets(java.util.List<java.lang.String> exportRouteTargets)
- Parameters:
exportRouteTargets
- New value for the property.
-
setImportRouteTargets
public VrfRouteTargets.Builder setImportRouteTargets(java.util.List<java.lang.String> importRouteTargets)
- Parameters:
importRouteTargets
- New value for the property.
-
build
public VrfRouteTargets build()
-
-