Package com.vmware.nsx_policy.model
Class BgpBfdConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BgpBfdConfig.Builder
-
- Enclosing class:
- BgpBfdConfig
public static final class BgpBfdConfig.Builder extends java.lang.Object
Builder class forBgpBfdConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofBgpBfdConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpBfdConfig
build()
BgpBfdConfig.Builder
setEnabled(java.lang.Boolean enabled)
Flag to enable BFD cofiguration.BgpBfdConfig.Builder
setInterval(java.lang.Long interval)
Time interval between heartbeat packets in milliseconds.BgpBfdConfig.Builder
setMultiple(java.lang.Long multiple)
Declare dead multiple.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBgpBfdConfig
.
-
-
Method Detail
-
setEnabled
public BgpBfdConfig.Builder setEnabled(java.lang.Boolean enabled)
Flag to enable BFD cofiguration.- Parameters:
enabled
- New value for the property.
-
setInterval
public BgpBfdConfig.Builder setInterval(java.lang.Long interval)
Time interval between heartbeat packets in milliseconds. format: int32- Parameters:
interval
- New value for the property.
-
setMultiple
public BgpBfdConfig.Builder setMultiple(java.lang.Long multiple)
Declare dead multiple. Number of times heartbeat packet is missed before BFD declares the neighbor is down. format: int32- Parameters:
multiple
- New value for the property.
-
build
public BgpBfdConfig build()
-
-