Package com.vmware.nsx_policy.model
Class MpOspfExternalLinkState.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpOspfExternalLinkState.Builder
-
- Enclosing class:
- MpOspfExternalLinkState
public static final class MpOspfExternalLinkState.Builder extends java.lang.ObjectBuilder class forMpOspfExternalLinkState.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofMpOspfExternalLinkState.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpOspfExternalLinkStatebuild()MpOspfExternalLinkState.BuildersetAdvertisedRouter(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.MpOspfExternalLinkState.BuildersetChecksum(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.MpOspfExternalLinkState.BuildersetLinkStateId(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.MpOspfExternalLinkState.BuildersetMetricType(java.lang.String metricType)Type of metric This property may be present in responses from the server, but if it is present in a request to server it will be ignored.MpOspfExternalLinkState.BuildersetRoute(java.lang.String route)Route with ip address and mask 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.MpOspfExternalLinkState.BuildersetSequenceNumber(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.MpOspfExternalLinkState.BuildersetTag(java.lang.Long tag)Tag 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.MpOspfExternalLinkState.BuildersetUpTime(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 ofMpOspfExternalLinkState.
-
-
Method Detail
-
setAdvertisedRouter
public MpOspfExternalLinkState.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 MpOspfExternalLinkState.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 MpOspfExternalLinkState.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.
-
setMetricType
public MpOspfExternalLinkState.Builder setMetricType(java.lang.String metricType)
Type of metric 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:
metricType- New value for the property.
-
setRoute
public MpOspfExternalLinkState.Builder setRoute(java.lang.String route)
Route with ip address and mask 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:
route- New value for the property.
-
setSequenceNumber
public MpOspfExternalLinkState.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.
-
setTag
public MpOspfExternalLinkState.Builder setTag(java.lang.Long tag)
Tag 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:
tag- New value for the property.
-
setUpTime
public MpOspfExternalLinkState.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 MpOspfExternalLinkState build()
-
-