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.Object
Builder 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 BgpNeighborRouteDetailsCsvRecord
build()
BgpNeighborRouteDetailsCsvRecord.Builder
setAsPath(java.lang.String asPath)
BGP AS path attribute.BgpNeighborRouteDetailsCsvRecord.Builder
setLocalPref(java.lang.Long localPref)
BGP Local Preference attribute.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.BgpNeighborRouteDetailsCsvRecord.Builder
setMed(java.lang.Long med)
BGP Multi Exit Discriminator attribute.BgpNeighborRouteDetailsCsvRecord.Builder
setNeighborAddress(java.lang.String neighborAddress)
BGP neighbor peer IP address.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.BgpNeighborRouteDetailsCsvRecord.Builder
setNetwork(java.lang.String network)
CIDR network address.BgpNeighborRouteDetailsCsvRecord.Builder
setNextHop(java.lang.String nextHop)
Next hop IP address.BgpNeighborRouteDetailsCsvRecord.Builder
setSourceAddress(java.lang.String sourceAddress)
BGP neighbor source address.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.BgpNeighborRouteDetailsCsvRecord.Builder
setWeight(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()
-
-