Class PhaseTwoConfigDetails.Builder
- java.lang.Object
 - 
- com.oracle.bmc.vnmonitoring.model.PhaseTwoConfigDetails.Builder
 
 
- 
- Enclosing class:
 - PhaseTwoConfigDetails
 
public static class PhaseTwoConfigDetails.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhaseTwoConfigDetails.BuilderauthenticationAlgorithm(PhaseTwoConfigDetails.AuthenticationAlgorithm authenticationAlgorithm)The authentication algorithm proposed during phase two tunnel negotiation.PhaseTwoConfigDetailsbuild()PhaseTwoConfigDetails.Buildercopy(PhaseTwoConfigDetails model)PhaseTwoConfigDetails.BuilderencryptionAlgorithm(PhaseTwoConfigDetails.EncryptionAlgorithm encryptionAlgorithm)The encryption algorithm proposed during phase two tunnel negotiation.PhaseTwoConfigDetails.BuilderisCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig)Indicates whether custom configuration is enabled for phase two options.PhaseTwoConfigDetails.BuilderisPfsEnabled(Boolean isPfsEnabled)Indicates whether perfect forward secrecy (PFS) is enabled.PhaseTwoConfigDetails.BuilderlifetimeInSeconds(Integer lifetimeInSeconds)Lifetime in seconds for the IPSec session key set in phase two.PhaseTwoConfigDetails.BuilderpfsDhGroup(PhaseTwoConfigDetails.PfsDhGroup pfsDhGroup)The Diffie-Hellman group used for PFS, if PFS is enabled. 
 - 
 
- 
- 
Method Detail
- 
isCustomPhaseTwoConfig
public PhaseTwoConfigDetails.Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig)
Indicates whether custom configuration is enabled for phase two options.- Parameters:
 isCustomPhaseTwoConfig- the value to set- Returns:
 - this builder
 
 
- 
authenticationAlgorithm
public PhaseTwoConfigDetails.Builder authenticationAlgorithm(PhaseTwoConfigDetails.AuthenticationAlgorithm authenticationAlgorithm)
The authentication algorithm proposed during phase two tunnel negotiation.- Parameters:
 authenticationAlgorithm- the value to set- Returns:
 - this builder
 
 
- 
encryptionAlgorithm
public PhaseTwoConfigDetails.Builder encryptionAlgorithm(PhaseTwoConfigDetails.EncryptionAlgorithm encryptionAlgorithm)
The encryption algorithm proposed during phase two tunnel negotiation.- Parameters:
 encryptionAlgorithm- the value to set- Returns:
 - this builder
 
 
- 
lifetimeInSeconds
public PhaseTwoConfigDetails.Builder lifetimeInSeconds(Integer lifetimeInSeconds)
Lifetime in seconds for the IPSec session key set in phase two.The default is 3600 which is equivalent to 1 hour.
- Parameters:
 lifetimeInSeconds- the value to set- Returns:
 - this builder
 
 
- 
isPfsEnabled
public PhaseTwoConfigDetails.Builder isPfsEnabled(Boolean isPfsEnabled)
Indicates whether perfect forward secrecy (PFS) is enabled.- Parameters:
 isPfsEnabled- the value to set- Returns:
 - this builder
 
 
- 
pfsDhGroup
public PhaseTwoConfigDetails.Builder pfsDhGroup(PhaseTwoConfigDetails.PfsDhGroup pfsDhGroup)
The Diffie-Hellman group used for PFS, if PFS is enabled.- Parameters:
 pfsDhGroup- the value to set- Returns:
 - this builder
 
 
- 
build
public PhaseTwoConfigDetails build()
 
- 
copy
public PhaseTwoConfigDetails.Builder copy(PhaseTwoConfigDetails model)
 
 - 
 
 -