Package com.vmware.nsx_policy.model
Class BgpAddressFamily.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpAddressFamily.Builder
-
- Enclosing class:
- BgpAddressFamily
public static final class BgpAddressFamily.Builder extends java.lang.Object
Builder class forBgpAddressFamily
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBgpAddressFamily
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpAddressFamily
build()
BgpAddressFamily.Builder
setInPrefixCount(java.lang.Long inPrefixCount)
Count of in prefixes 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.BgpAddressFamily.Builder
setOutPrefixCount(java.lang.Long outPrefixCount)
Count of out prefixes 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.BgpAddressFamily.Builder
setType(java.lang.String type)
Possible values are:BgpAddressFamily.TYPE_IPV4_UNICAST
BgpAddressFamily.TYPE_VPNV4_UNICAST
BgpAddressFamily.TYPE_IPV6_UNICAST
BgpAddressFamily.TYPE_L2VPN_EVPN
BgpAddressFamily.TYPE_VPNV6_UNICAST
BGP address family type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpAddressFamily
.
-
-
Method Detail
-
setInPrefixCount
public BgpAddressFamily.Builder setInPrefixCount(java.lang.Long inPrefixCount)
Count of in prefixes 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.- Parameters:
inPrefixCount
- New value for the property.
-
setOutPrefixCount
public BgpAddressFamily.Builder setOutPrefixCount(java.lang.Long outPrefixCount)
Count of out prefixes 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.- Parameters:
outPrefixCount
- New value for the property.
-
setType
public BgpAddressFamily.Builder setType(java.lang.String type)
Possible values are: BGP address family type This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
type
- New value for the property.
-
build
public BgpAddressFamily build()
-
-