Class PhaseOneConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.PhaseOneConfigDetails.Builder
-
- Enclosing class:
- PhaseOneConfigDetails
public static class PhaseOneConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhaseOneConfigDetails.Builder
authenticationAlgorithm(PhaseOneConfigDetails.AuthenticationAlgorithm authenticationAlgorithm)
The custom authentication algorithm proposed during phase one tunnel negotiation.PhaseOneConfigDetails
build()
PhaseOneConfigDetails.Builder
copy(PhaseOneConfigDetails model)
PhaseOneConfigDetails.Builder
diffieHelmanGroup(PhaseOneConfigDetails.DiffieHelmanGroup diffieHelmanGroup)
The custom Diffie-Hellman group proposed during phase one tunnel negotiation.PhaseOneConfigDetails.Builder
encryptionAlgorithm(PhaseOneConfigDetails.EncryptionAlgorithm encryptionAlgorithm)
The custom encryption algorithm proposed during phase one tunnel negotiation.PhaseOneConfigDetails.Builder
isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig)
Indicates whether custom configuration is enabled for phase one options.PhaseOneConfigDetails.Builder
lifetimeInSeconds(Integer lifetimeInSeconds)
Internet key association (IKE) session key lifetime in seconds for IPSec phase one.
-
-
-
Method Detail
-
isCustomPhaseOneConfig
public PhaseOneConfigDetails.Builder isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig)
Indicates whether custom configuration is enabled for phase one options.- Parameters:
isCustomPhaseOneConfig
- the value to set- Returns:
- this builder
-
authenticationAlgorithm
public PhaseOneConfigDetails.Builder authenticationAlgorithm(PhaseOneConfigDetails.AuthenticationAlgorithm authenticationAlgorithm)
The custom authentication algorithm proposed during phase one tunnel negotiation.- Parameters:
authenticationAlgorithm
- the value to set- Returns:
- this builder
-
encryptionAlgorithm
public PhaseOneConfigDetails.Builder encryptionAlgorithm(PhaseOneConfigDetails.EncryptionAlgorithm encryptionAlgorithm)
The custom encryption algorithm proposed during phase one tunnel negotiation.- Parameters:
encryptionAlgorithm
- the value to set- Returns:
- this builder
-
diffieHelmanGroup
public PhaseOneConfigDetails.Builder diffieHelmanGroup(PhaseOneConfigDetails.DiffieHelmanGroup diffieHelmanGroup)
The custom Diffie-Hellman group proposed during phase one tunnel negotiation.- Parameters:
diffieHelmanGroup
- the value to set- Returns:
- this builder
-
lifetimeInSeconds
public PhaseOneConfigDetails.Builder lifetimeInSeconds(Integer lifetimeInSeconds)
Internet key association (IKE) session key lifetime in seconds for IPSec phase one.The default is 28800 which is equivalent to 8 hours.
- Parameters:
lifetimeInSeconds
- the value to set- Returns:
- this builder
-
build
public PhaseOneConfigDetails build()
-
copy
public PhaseOneConfigDetails.Builder copy(PhaseOneConfigDetails model)
-
-