Class PhaseTwoConfigDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.PhaseTwoConfigDetails.Builder
 
- 
- Enclosing class:
- PhaseTwoConfigDetails
 
 public static class PhaseTwoConfigDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
isCustomPhaseTwoConfigpublic PhaseTwoConfigDetails.Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig) Indicates whether custom configuration is enabled for phase two options.- Parameters:
- isCustomPhaseTwoConfig- the value to set
- Returns:
- this builder
 
 - 
authenticationAlgorithmpublic PhaseTwoConfigDetails.Builder authenticationAlgorithm(PhaseTwoConfigDetails.AuthenticationAlgorithm authenticationAlgorithm) The authentication algorithm proposed during phase two tunnel negotiation.- Parameters:
- authenticationAlgorithm- the value to set
- Returns:
- this builder
 
 - 
encryptionAlgorithmpublic PhaseTwoConfigDetails.Builder encryptionAlgorithm(PhaseTwoConfigDetails.EncryptionAlgorithm encryptionAlgorithm) The encryption algorithm proposed during phase two tunnel negotiation.- Parameters:
- encryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
lifetimeInSecondspublic 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
 
 - 
isPfsEnabledpublic PhaseTwoConfigDetails.Builder isPfsEnabled(Boolean isPfsEnabled) Indicates whether perfect forward secrecy (PFS) is enabled.- Parameters:
- isPfsEnabled- the value to set
- Returns:
- this builder
 
 - 
pfsDhGrouppublic 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
 
 - 
buildpublic PhaseTwoConfigDetails build() 
 - 
copypublic PhaseTwoConfigDetails.Builder copy(PhaseTwoConfigDetails model) 
 
- 
 
-