Class TunnelPhaseOneDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.TunnelPhaseOneDetails.Builder
 
- 
- Enclosing class:
- TunnelPhaseOneDetails
 
 public static class TunnelPhaseOneDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelPhaseOneDetailsbuild()TunnelPhaseOneDetails.Buildercopy(TunnelPhaseOneDetails model)TunnelPhaseOneDetails.BuildercustomAuthenticationAlgorithm(String customAuthenticationAlgorithm)The proposed custom authentication algorithm.TunnelPhaseOneDetails.BuildercustomDhGroup(String customDhGroup)The proposed custom Diffie-Hellman group.TunnelPhaseOneDetails.BuildercustomEncryptionAlgorithm(String customEncryptionAlgorithm)The proposed custom encryption algorithm.TunnelPhaseOneDetails.BuilderisCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig)Indicates whether custom phase one configuration is enabled.TunnelPhaseOneDetails.BuilderisIkeEstablished(Boolean isIkeEstablished)Indicates whether IKE phase one is established.TunnelPhaseOneDetails.Builderlifetime(Long lifetime)The total configured lifetime of the IKE security association.TunnelPhaseOneDetails.BuildernegotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)The negotiated authentication algorithm.TunnelPhaseOneDetails.BuildernegotiatedDhGroup(String negotiatedDhGroup)The negotiated Diffie-Hellman group.TunnelPhaseOneDetails.BuildernegotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)The negotiated encryption algorithm.TunnelPhaseOneDetails.BuilderremainingLifetime(Long remainingLifetime)The remaining lifetime before the key is refreshed.TunnelPhaseOneDetails.BuilderremainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved)The date and time we retrieved the remaining lifetime, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
isCustomPhaseOneConfigpublic TunnelPhaseOneDetails.Builder isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig) Indicates whether custom phase one configuration is enabled.If this option is not enabled, default settings are proposed. - Parameters:
- isCustomPhaseOneConfig- the value to set
- Returns:
- this builder
 
 - 
lifetimepublic TunnelPhaseOneDetails.Builder lifetime(Long lifetime) The total configured lifetime of the IKE security association.- Parameters:
- lifetime- the value to set
- Returns:
- this builder
 
 - 
remainingLifetimepublic TunnelPhaseOneDetails.Builder remainingLifetime(Long remainingLifetime) The remaining lifetime before the key is refreshed.- Parameters:
- remainingLifetime- the value to set
- Returns:
- this builder
 
 - 
customAuthenticationAlgorithmpublic TunnelPhaseOneDetails.Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm) The proposed custom authentication algorithm.- Parameters:
- customAuthenticationAlgorithm- the value to set
- Returns:
- this builder
 
 - 
negotiatedAuthenticationAlgorithmpublic TunnelPhaseOneDetails.Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm) The negotiated authentication algorithm.- Parameters:
- negotiatedAuthenticationAlgorithm- the value to set
- Returns:
- this builder
 
 - 
customEncryptionAlgorithmpublic TunnelPhaseOneDetails.Builder customEncryptionAlgorithm(String customEncryptionAlgorithm) The proposed custom encryption algorithm.- Parameters:
- customEncryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
negotiatedEncryptionAlgorithmpublic TunnelPhaseOneDetails.Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm) The negotiated encryption algorithm.- Parameters:
- negotiatedEncryptionAlgorithm- the value to set
- Returns:
- this builder
 
 - 
customDhGrouppublic TunnelPhaseOneDetails.Builder customDhGroup(String customDhGroup) The proposed custom Diffie-Hellman group.- Parameters:
- customDhGroup- the value to set
- Returns:
- this builder
 
 - 
negotiatedDhGrouppublic TunnelPhaseOneDetails.Builder negotiatedDhGroup(String negotiatedDhGroup) The negotiated Diffie-Hellman group.- Parameters:
- negotiatedDhGroup- the value to set
- Returns:
- this builder
 
 - 
isIkeEstablishedpublic TunnelPhaseOneDetails.Builder isIkeEstablished(Boolean isIkeEstablished) Indicates whether IKE phase one is established.- Parameters:
- isIkeEstablished- the value to set
- Returns:
- this builder
 
 - 
remainingLifetimeLastRetrievedpublic TunnelPhaseOneDetails.Builder remainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved) The date and time we retrieved the remaining lifetime, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- remainingLifetimeLastRetrieved- the value to set
- Returns:
- this builder
 
 - 
buildpublic TunnelPhaseOneDetails build() 
 - 
copypublic TunnelPhaseOneDetails.Builder copy(TunnelPhaseOneDetails model) 
 
- 
 
-