Class DpdConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DpdConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DpdConfig
build()
DpdConfig.Builder
copy(DpdConfig model)
DpdConfig.Builder
dpdMode(DpdConfig.DpdMode dpdMode)
This option defines whether DPD can be initiated from the Oracle side of the connection.DpdConfig.Builder
dpdTimeoutInSec(Integer dpdTimeoutInSec)
DPD timeout in seconds.
-
-
-
Method Detail
-
dpdMode
public DpdConfig.Builder dpdMode(DpdConfig.DpdMode dpdMode)
This option defines whether DPD can be initiated from the Oracle side of the connection.- Parameters:
dpdMode
- the value to set- Returns:
- this builder
-
dpdTimeoutInSec
public DpdConfig.Builder dpdTimeoutInSec(Integer dpdTimeoutInSec)
DPD timeout in seconds.This sets the longest interval between CPE device health messages before the IPSec connection indicates it has lost contact with the CPE. The default is 20 seconds.
- Parameters:
dpdTimeoutInSec
- the value to set- Returns:
- this builder
-
build
public DpdConfig build()
-
copy
public DpdConfig.Builder copy(DpdConfig model)
-
-