Package com.vmware.nsx_policy.model
Class OspfStatusInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.OspfStatusInfo.Builder
-
- Enclosing class:
- OspfStatusInfo
public static final class OspfStatusInfo.Builder extends java.lang.Object
Builder class forOspfStatusInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofOspfStatusInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OspfStatusInfo
build()
OspfStatusInfo.Builder
setDatabaseSummaryCounter(java.lang.Long databaseSummaryCounter)
Database summary counter.OspfStatusInfo.Builder
setDeadTime(java.lang.String deadTime)
Time remaining in before considering OSPF neighbor dead.OspfStatusInfo.Builder
setInterfaceName(java.lang.String interfaceName)
Tier0 interface name.OspfStatusInfo.Builder
setLastStateChange(java.lang.String lastStateChange)
Time since last change in state.OspfStatusInfo.Builder
setPriority(java.lang.Long priority)
Priority of the neighbor.OspfStatusInfo.Builder
setRequestCounter(java.lang.Long requestCounter)
request counter.OspfStatusInfo.Builder
setRetransmitCounter(java.lang.Long retransmitCounter)
Retransmit request counter.OspfStatusInfo.Builder
setSourceAddress(java.lang.String sourceAddress)
Multicast source address.OspfStatusInfo.Builder
setState(java.lang.String state)
OSPF neighbor state.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofOspfStatusInfo
.
-
-
Method Detail
-
setDatabaseSummaryCounter
public OspfStatusInfo.Builder setDatabaseSummaryCounter(java.lang.Long databaseSummaryCounter)
Database summary counter. 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:
databaseSummaryCounter
- New value for the property.
-
setDeadTime
public OspfStatusInfo.Builder setDeadTime(java.lang.String deadTime)
Time remaining in before considering OSPF neighbor dead. 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:
deadTime
- New value for the property.
-
setInterfaceName
public OspfStatusInfo.Builder setInterfaceName(java.lang.String interfaceName)
Tier0 interface name. 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:
interfaceName
- New value for the property.
-
setLastStateChange
public OspfStatusInfo.Builder setLastStateChange(java.lang.String lastStateChange)
Time since last change in state. 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:
lastStateChange
- New value for the property.
-
setPriority
public OspfStatusInfo.Builder setPriority(java.lang.Long priority)
Priority of the neighbor. 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:
priority
- New value for the property.
-
setRequestCounter
public OspfStatusInfo.Builder setRequestCounter(java.lang.Long requestCounter)
request counter. 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:
requestCounter
- New value for the property.
-
setRetransmitCounter
public OspfStatusInfo.Builder setRetransmitCounter(java.lang.Long retransmitCounter)
Retransmit request counter. 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:
retransmitCounter
- New value for the property.
-
setSourceAddress
public OspfStatusInfo.Builder setSourceAddress(java.lang.String sourceAddress)
Multicast 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.
-
setState
public OspfStatusInfo.Builder setState(java.lang.String state)
OSPF neighbor state. 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:
state
- New value for the property.
-
build
public OspfStatusInfo build()
-
-