Package com.vmware.nsx_policy.model
Class TunnelKeepAlive.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TunnelKeepAlive.Builder
-
- Enclosing class:
- TunnelKeepAlive
public static final class TunnelKeepAlive.Builder extends java.lang.Object
Builder class forTunnelKeepAlive
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTunnelKeepAlive
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelKeepAlive
build()
TunnelKeepAlive.Builder
setDeadTimeMultiplier(java.lang.Long deadTimeMultiplier)
Dead time multiplier format: int32TunnelKeepAlive.Builder
setEnabled(java.lang.Boolean enabled)
Enable/Disable tunnel keep aliveTunnelKeepAlive.Builder
setEnableKeepaliveAck(java.lang.Boolean enableKeepaliveAck)
Enable tunnel keep alive acknowledgeTunnelKeepAlive.Builder
setKeepaliveInterval(java.lang.Long keepaliveInterval)
Keep alive interval format: int32
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTunnelKeepAlive
.
-
-
Method Detail
-
setDeadTimeMultiplier
public TunnelKeepAlive.Builder setDeadTimeMultiplier(java.lang.Long deadTimeMultiplier)
Dead time multiplier format: int32- Parameters:
deadTimeMultiplier
- New value for the property.
-
setEnableKeepaliveAck
public TunnelKeepAlive.Builder setEnableKeepaliveAck(java.lang.Boolean enableKeepaliveAck)
Enable tunnel keep alive acknowledge- Parameters:
enableKeepaliveAck
- New value for the property.
-
setEnabled
public TunnelKeepAlive.Builder setEnabled(java.lang.Boolean enabled)
Enable/Disable tunnel keep alive- Parameters:
enabled
- New value for the property.
-
setKeepaliveInterval
public TunnelKeepAlive.Builder setKeepaliveInterval(java.lang.Long keepaliveInterval)
Keep alive interval format: int32- Parameters:
keepaliveInterval
- New value for the property.
-
build
public TunnelKeepAlive build()
-
-