Package com.vmware.nsx_policy.model
Class BgpRouteLeaking.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpRouteLeaking.Builder
-
- Enclosing class:
- BgpRouteLeaking
public static final class BgpRouteLeaking.Builder extends java.lang.Object
Builder class forBgpRouteLeaking
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBgpRouteLeaking
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpRouteLeaking
build()
BgpRouteLeaking.Builder
setAddressFamily(java.lang.String addressFamily)
Possible values are:BgpRouteLeaking.ADDRESS_FAMILY_IPV4
BgpRouteLeaking.ADDRESS_FAMILY_IPV6
Address family type.BgpRouteLeaking.Builder
setInFilter(java.util.List<java.lang.String> inFilter)
Specify path of route map to filter routes for IN direction.BgpRouteLeaking.Builder
setOutFilter(java.util.List<java.lang.String> outFilter)
Specify path of route map to filter routes for OUT direction.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpRouteLeaking
.
-
-
Method Detail
-
setAddressFamily
public BgpRouteLeaking.Builder setAddressFamily(java.lang.String addressFamily)
Possible values are: Address family type. Assumed IPv4 address family when not specified.- Parameters:
addressFamily
- New value for the property.
-
setInFilter
public BgpRouteLeaking.Builder setInFilter(java.util.List<java.lang.String> inFilter)
Specify path of route map to filter routes for IN direction. If not specified then all exported routes from peer attachment will be imported.- Parameters:
inFilter
- New value for the property.
-
setOutFilter
public BgpRouteLeaking.Builder setOutFilter(java.util.List<java.lang.String> outFilter)
Specify path of route map to filter routes for OUT direction. If not specified then all redistribute routes will be exported.- Parameters:
outFilter
- New value for the property.
-
build
public BgpRouteLeaking build()
-
-