Class TunnelPhaseTwoDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.TunnelPhaseTwoDetails.Builder
 
- 
- Enclosing class:
- TunnelPhaseTwoDetails
 
 public static class TunnelPhaseTwoDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelPhaseTwoDetailsbuild()TunnelPhaseTwoDetails.Buildercopy(TunnelPhaseTwoDetails model)TunnelPhaseTwoDetails.BuildercustomAuthenticationAlgorithm(String customAuthenticationAlgorithm)Phase two authentication algorithm proposed during tunnel negotiation.TunnelPhaseTwoDetails.BuildercustomEncryptionAlgorithm(String customEncryptionAlgorithm)The proposed custom phase two encryption algorithm.TunnelPhaseTwoDetails.BuilderdhGroup(String dhGroup)The proposed Diffie-Hellman group.TunnelPhaseTwoDetails.BuilderisCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig)Indicates whether custom phase two configuration is enabled.TunnelPhaseTwoDetails.BuilderisEspEstablished(Boolean isEspEstablished)Indicates that ESP phase two is established.TunnelPhaseTwoDetails.BuilderisPfsEnabled(Boolean isPfsEnabled)Indicates that PFS (perfect forward secrecy) is enabled.TunnelPhaseTwoDetails.Builderlifetime(Long lifetime)The total configured lifetime of the IKE security association.TunnelPhaseTwoDetails.BuildernegotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)The negotiated phase two authentication algorithm.TunnelPhaseTwoDetails.BuildernegotiatedDhGroup(String negotiatedDhGroup)The negotiated Diffie-Hellman group.TunnelPhaseTwoDetails.BuildernegotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)The negotiated encryption algorithm.TunnelPhaseTwoDetails.BuilderremainingLifetime(Long remainingLifetime)The remaining lifetime before the key is refreshed.TunnelPhaseTwoDetails.BuilderremainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved)The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
isCustomPhaseTwoConfigpublic TunnelPhaseTwoDetails.Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig) Indicates whether custom phase two configuration is enabled.If this option is not enabled, default settings are proposed. - Parameters:
- isCustomPhaseTwoConfig- the value to set
- Returns:
- this builder
 
 - 
lifetimepublic TunnelPhaseTwoDetails.Builder lifetime(Long lifetime) The total configured lifetime of the IKE security association.- Parameters:
- lifetime- the value to set
- Returns:
- this builder
 
 - 
remainingLifetimepublic TunnelPhaseTwoDetails.Builder remainingLifetime(Long remainingLifetime) The remaining lifetime before the key is refreshed.- Parameters:
- remainingLifetime- the value to set
- Returns:
- this builder
 
 - 
customAuthenticationAlgorithmpublic TunnelPhaseTwoDetails.Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm) Phase two authentication algorithm proposed during tunnel negotiation.- Parameters:
- customAuthenticationAlgorithm- the value to set
- Returns:
- this builder
 
 - 
negotiatedAuthenticationAlgorithmpublic TunnelPhaseTwoDetails.Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm) The negotiated phase two authentication algorithm.- Parameters:
- negotiatedAuthenticationAlgorithm- the value to set
- Returns:
- this builder
 
 - 
customEncryptionAlgorithmpublic TunnelPhaseTwoDetails.Builder customEncryptionAlgorithm(String customEncryptionAlgorithm) The proposed custom phase two encryption algorithm.- Parameters:
- customEncryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
negotiatedEncryptionAlgorithmpublic TunnelPhaseTwoDetails.Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm) The negotiated encryption algorithm.- Parameters:
- negotiatedEncryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
dhGrouppublic TunnelPhaseTwoDetails.Builder dhGroup(String dhGroup) The proposed Diffie-Hellman group.- Parameters:
- dhGroup- the value to set
- Returns:
- this builder
 
 - 
negotiatedDhGrouppublic TunnelPhaseTwoDetails.Builder negotiatedDhGroup(String negotiatedDhGroup) The negotiated Diffie-Hellman group.- Parameters:
- negotiatedDhGroup- the value to set
- Returns:
- this builder
 
 - 
isEspEstablishedpublic TunnelPhaseTwoDetails.Builder isEspEstablished(Boolean isEspEstablished) Indicates that ESP phase two is established.- Parameters:
- isEspEstablished- the value to set
- Returns:
- this builder
 
 - 
isPfsEnabledpublic TunnelPhaseTwoDetails.Builder isPfsEnabled(Boolean isPfsEnabled) Indicates that PFS (perfect forward secrecy) is enabled.- Parameters:
- isPfsEnabled- the value to set
- Returns:
- this builder
 
 - 
remainingLifetimeLastRetrievedpublic TunnelPhaseTwoDetails.Builder remainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved) The date and time the remaining lifetime was last retrieved, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- remainingLifetimeLastRetrieved- the value to set
- Returns:
- this builder
 
 - 
buildpublic TunnelPhaseTwoDetails build() 
 - 
copypublic TunnelPhaseTwoDetails.Builder copy(TunnelPhaseTwoDetails model) 
 
- 
 
-