Package com.vmware.nsx_policy.model
Class BfdHealthMonitoringConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BfdHealthMonitoringConfig.Builder
-
- Enclosing class:
- BfdHealthMonitoringConfig
public static final class BfdHealthMonitoringConfig.Builder extends java.lang.ObjectBuilder class forBfdHealthMonitoringConfig.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofBfdHealthMonitoringConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BfdHealthMonitoringConfigbuild()BfdHealthMonitoringConfig.BuildersetEnabled(java.lang.Boolean enabled)Whether the heartbeat is enabled.BfdHealthMonitoringConfig.BuildersetLatencyEnabled(java.lang.Boolean latencyEnabled)The flag is to turn on/off latency.BfdHealthMonitoringConfig.BuildersetProbeInterval(java.lang.Long probeInterval)The time interval (in millisec) between probe packets for tunnels between transport nodes.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBfdHealthMonitoringConfig.
-
-
Method Detail
-
setEnabled
public BfdHealthMonitoringConfig.Builder setEnabled(java.lang.Boolean enabled)
Whether the heartbeat is enabled. A PATCH or PUT request with \"enabled\" false (with no probe intervals) will set or reset the probe_interval to their default value.- Parameters:
enabled- New value for the property.
-
setLatencyEnabled
public BfdHealthMonitoringConfig.Builder setLatencyEnabled(java.lang.Boolean latencyEnabled)
The flag is to turn on/off latency. A PATCH or PUT request with \"latency_enabled\" true will enable NSX to send the networking latency data to thrid-party monitoring tools like vRNI.- Parameters:
latencyEnabled- New value for the property.
-
setProbeInterval
public BfdHealthMonitoringConfig.Builder setProbeInterval(java.lang.Long probeInterval)
The time interval (in millisec) between probe packets for tunnels between transport nodes. format: int64- Parameters:
probeInterval- New value for the property.
-
build
public BfdHealthMonitoringConfig build()
-
-