Package com.vmware.nsx_policy.model
Class BgpNeighborRouteDetailsCsvRecord.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpNeighborRouteDetailsCsvRecord.Builder
-
- Enclosing class:
- BgpNeighborRouteDetailsCsvRecord
public static final class BgpNeighborRouteDetailsCsvRecord.Builder extends java.lang.ObjectBuilder class forBgpNeighborRouteDetailsCsvRecord.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofBgpNeighborRouteDetailsCsvRecord.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpNeighborRouteDetailsCsvRecordbuild()BgpNeighborRouteDetailsCsvRecord.BuildersetAsPath(java.lang.String asPath)BGP AS path attribute.BgpNeighborRouteDetailsCsvRecord.BuildersetLocalPref(java.lang.Long localPref)BGP Local Preference attribute.BgpNeighborRouteDetailsCsvRecord.BuildersetLogicalRouterId(java.lang.String logicalRouterId)Logical router id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.BgpNeighborRouteDetailsCsvRecord.BuildersetMed(java.lang.Long med)BGP Multi Exit Discriminator attribute.BgpNeighborRouteDetailsCsvRecord.BuildersetNeighborAddress(java.lang.String neighborAddress)BGP neighbor peer IP address.BgpNeighborRouteDetailsCsvRecord.BuildersetNeighborId(java.lang.String neighborId)BGP neighbor id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.BgpNeighborRouteDetailsCsvRecord.BuildersetNetwork(java.lang.String network)CIDR network address.BgpNeighborRouteDetailsCsvRecord.BuildersetNextHop(java.lang.String nextHop)Next hop IP address.BgpNeighborRouteDetailsCsvRecord.BuildersetSourceAddress(java.lang.String sourceAddress)BGP neighbor source address.BgpNeighborRouteDetailsCsvRecord.BuildersetTransportNodeId(java.lang.String transportNodeId)Transport node id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.BgpNeighborRouteDetailsCsvRecord.BuildersetWeight(java.lang.Long weight)BGP Weight attribute.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpNeighborRouteDetailsCsvRecord.
-
-
Method Detail
-
setAsPath
public BgpNeighborRouteDetailsCsvRecord.Builder setAsPath(java.lang.String asPath)
BGP AS path attribute. 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:
asPath- New value for the property.
-
setLocalPref
public BgpNeighborRouteDetailsCsvRecord.Builder setLocalPref(java.lang.Long localPref)
BGP Local Preference attribute. 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:
localPref- New value for the property.
-
setLogicalRouterId
public BgpNeighborRouteDetailsCsvRecord.Builder setLogicalRouterId(java.lang.String logicalRouterId)
Logical router id 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:
logicalRouterId- New value for the property.
-
setMed
public BgpNeighborRouteDetailsCsvRecord.Builder setMed(java.lang.Long med)
BGP Multi Exit Discriminator attribute. 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:
med- New value for the property.
-
setNeighborAddress
public BgpNeighborRouteDetailsCsvRecord.Builder setNeighborAddress(java.lang.String neighborAddress)
BGP neighbor peer IP address. format: ip 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:
neighborAddress- New value for the property.
-
setNeighborId
public BgpNeighborRouteDetailsCsvRecord.Builder setNeighborId(java.lang.String neighborId)
BGP neighbor id 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:
neighborId- New value for the property.
-
setNetwork
public BgpNeighborRouteDetailsCsvRecord.Builder setNetwork(java.lang.String network)
CIDR network address. format: ip-cidr-block 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:
network- New value for the property.
-
setNextHop
public BgpNeighborRouteDetailsCsvRecord.Builder setNextHop(java.lang.String nextHop)
Next hop IP address. format: ip 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:
nextHop- New value for the property.
-
setSourceAddress
public BgpNeighborRouteDetailsCsvRecord.Builder setSourceAddress(java.lang.String sourceAddress)
BGP neighbor source address. format: ip 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:
sourceAddress- New value for the property.
-
setTransportNodeId
public BgpNeighborRouteDetailsCsvRecord.Builder setTransportNodeId(java.lang.String transportNodeId)
Transport node id 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:
transportNodeId- New value for the property.
-
setWeight
public BgpNeighborRouteDetailsCsvRecord.Builder setWeight(java.lang.Long weight)
BGP Weight attribute. 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:
weight- New value for the property.
-
build
public BgpNeighborRouteDetailsCsvRecord build()
-
-