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.ObjectBuilder 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 BgpAddressFamilybuild()BgpAddressFamily.BuildersetInPrefixCount(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.BuildersetOutPrefixCount(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.BuildersetType(java.lang.String type)Possible values are:BgpAddressFamily.TYPE_IPV4_UNICASTBgpAddressFamily.TYPE_VPNV4_UNICASTBgpAddressFamily.TYPE_IPV6_UNICASTBgpAddressFamily.TYPE_L2VPN_EVPNBgpAddressFamily.TYPE_VPNV6_UNICASTBGP 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()
-
-