Class TunnelStatus.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.TunnelStatus.Builder
-
- Enclosing class:
- TunnelStatus
public static class TunnelStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelStatus
build()
TunnelStatus.Builder
copy(TunnelStatus model)
TunnelStatus.Builder
ipAddress(String ipAddress)
The IP address of Oracle’s VPN headend.TunnelStatus.Builder
lifecycleState(TunnelStatus.LifecycleState lifecycleState)
The tunnel’s current state.TunnelStatus.Builder
timeCreated(Date timeCreated)
The date and time the IPSec connection was created, in the format defined by RFC3339.TunnelStatus.Builder
timeStateModified(Date timeStateModified)
When the state of the tunnel last changed, in the format defined by RFC3339.
-
-
-
Method Detail
-
ipAddress
public TunnelStatus.Builder ipAddress(String ipAddress)
The IP address of Oracle’s VPN headend.Example: 203.0.113.50
- Parameters:
ipAddress
- the value to set- Returns:
- this builder
-
lifecycleState
public TunnelStatus.Builder lifecycleState(TunnelStatus.LifecycleState lifecycleState)
The tunnel’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public TunnelStatus.Builder timeCreated(Date timeCreated)
The date and time the IPSec connection was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeStateModified
public TunnelStatus.Builder timeStateModified(Date timeStateModified)
When the state of the tunnel last changed, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeStateModified
- the value to set- Returns:
- this builder
-
build
public TunnelStatus build()
-
copy
public TunnelStatus.Builder copy(TunnelStatus model)
-
-