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.Object
Builder 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 MpOspfExternalLinkState
build()
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.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.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.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.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.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.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.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.
-
-
-
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()
-
-