Package com.vmware.nsx_policy.model
Class MpOspfRouterLinkStates.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpOspfRouterLinkStates.Builder
-
- Enclosing class:
- MpOspfRouterLinkStates
public static final class MpOspfRouterLinkStates.Builder extends java.lang.Object
Builder class forMpOspfRouterLinkStates
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMpOspfRouterLinkStates
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpOspfRouterLinkStates
build()
MpOspfRouterLinkStates.Builder
setAdvertisedRouter(java.lang.String advertisedRouter)
OSPF advertised router This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MpOspfRouterLinkStates.Builder
setChecksum(java.lang.String checksum)
Cost of the route This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MpOspfRouterLinkStates.Builder
setLinkStateId(java.lang.String linkStateId)
OSPF link 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.MpOspfRouterLinkStates.Builder
setRouterLinks(java.lang.Long routerLinks)
Number of router links 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.MpOspfRouterLinkStates.Builder
setSequenceNumber(java.lang.String sequenceNumber)
Sequence number This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MpOspfRouterLinkStates.Builder
setUpTime(java.lang.Long upTime)
LSA age 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMpOspfRouterLinkStates
.
-
-
Method Detail
-
setAdvertisedRouter
public MpOspfRouterLinkStates.Builder setAdvertisedRouter(java.lang.String advertisedRouter)
OSPF advertised router 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:
advertisedRouter
- New value for the property.
-
setChecksum
public MpOspfRouterLinkStates.Builder setChecksum(java.lang.String checksum)
Cost of the route 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:
checksum
- New value for the property.
-
setLinkStateId
public MpOspfRouterLinkStates.Builder setLinkStateId(java.lang.String linkStateId)
OSPF link 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:
linkStateId
- New value for the property.
-
setRouterLinks
public MpOspfRouterLinkStates.Builder setRouterLinks(java.lang.Long routerLinks)
Number of router links 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:
routerLinks
- New value for the property.
-
setSequenceNumber
public MpOspfRouterLinkStates.Builder setSequenceNumber(java.lang.String sequenceNumber)
Sequence number 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:
sequenceNumber
- New value for the property.
-
setUpTime
public MpOspfRouterLinkStates.Builder setUpTime(java.lang.Long upTime)
LSA age 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:
upTime
- New value for the property.
-
build
public MpOspfRouterLinkStates build()
-
-