Class TunnelSecurityAssociationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.TunnelSecurityAssociationSummary.Builder
-
- Enclosing class:
- TunnelSecurityAssociationSummary
public static class TunnelSecurityAssociationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelSecurityAssociationSummary
build()
TunnelSecurityAssociationSummary.Builder
copy(TunnelSecurityAssociationSummary model)
TunnelSecurityAssociationSummary.Builder
cpeSubnet(String cpeSubnet)
The IP address and mask of the partner subnet used in policy based VPNs or static routes.TunnelSecurityAssociationSummary.Builder
oracleSubnet(String oracleSubnet)
The IP address and mask of the local subnet used in policy based VPNs or static routes.TunnelSecurityAssociationSummary.Builder
time(String time)
Time in the current state, in seconds.TunnelSecurityAssociationSummary.Builder
tunnelSaErrorInfo(String tunnelSaErrorInfo)
Current state if the IPSec tunnel status is not UP, including phase one and phase two details and a possible reason the tunnel is not UP.TunnelSecurityAssociationSummary.Builder
tunnelSaStatus(TunnelSecurityAssociationSummary.TunnelSaStatus tunnelSaStatus)
The IPSec tunnel’s phase one status.
-
-
-
Method Detail
-
cpeSubnet
public TunnelSecurityAssociationSummary.Builder cpeSubnet(String cpeSubnet)
The IP address and mask of the partner subnet used in policy based VPNs or static routes.- Parameters:
cpeSubnet
- the value to set- Returns:
- this builder
-
oracleSubnet
public TunnelSecurityAssociationSummary.Builder oracleSubnet(String oracleSubnet)
The IP address and mask of the local subnet used in policy based VPNs or static routes.- Parameters:
oracleSubnet
- the value to set- Returns:
- this builder
-
tunnelSaStatus
public TunnelSecurityAssociationSummary.Builder tunnelSaStatus(TunnelSecurityAssociationSummary.TunnelSaStatus tunnelSaStatus)
The IPSec tunnel’s phase one status.- Parameters:
tunnelSaStatus
- the value to set- Returns:
- this builder
-
tunnelSaErrorInfo
public TunnelSecurityAssociationSummary.Builder tunnelSaErrorInfo(String tunnelSaErrorInfo)
Current state if the IPSec tunnel status is not UP, including phase one and phase two details and a possible reason the tunnel is not UP.- Parameters:
tunnelSaErrorInfo
- the value to set- Returns:
- this builder
-
time
public TunnelSecurityAssociationSummary.Builder time(String time)
Time in the current state, in seconds.- Parameters:
time
- the value to set- Returns:
- this builder
-
build
public TunnelSecurityAssociationSummary build()
-
copy
public TunnelSecurityAssociationSummary.Builder copy(TunnelSecurityAssociationSummary model)
-
-