Package com.vmware.nsx_policy.model
Class MpOspfNetworkLinkStates.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpOspfNetworkLinkStates.Builder
-
- Enclosing class:
- MpOspfNetworkLinkStates
public static final class MpOspfNetworkLinkStates.Builder extends java.lang.Object
Builder class forMpOspfNetworkLinkStates
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMpOspfNetworkLinkStates
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpOspfNetworkLinkStates
build()
MpOspfNetworkLinkStates.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.MpOspfNetworkLinkStates.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.MpOspfNetworkLinkStates.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.MpOspfNetworkLinkStates.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.MpOspfNetworkLinkStates.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 ofMpOspfNetworkLinkStates
.
-
-
Method Detail
-
setAdvertisedRouter
public MpOspfNetworkLinkStates.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 MpOspfNetworkLinkStates.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 MpOspfNetworkLinkStates.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.
-
setSequenceNumber
public MpOspfNetworkLinkStates.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 MpOspfNetworkLinkStates.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 MpOspfNetworkLinkStates build()
-
-