Class TunnelPhaseOneDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.TunnelPhaseOneDetails.Builder
-
- Enclosing class:
- TunnelPhaseOneDetails
public static class TunnelPhaseOneDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
isCustomPhaseOneConfig
public 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
-
lifetime
public TunnelPhaseOneDetails.Builder lifetime(Long lifetime)
The total configured lifetime of the IKE security association.- Parameters:
lifetime- the value to set- Returns:
- this builder
-
remainingLifetime
public TunnelPhaseOneDetails.Builder remainingLifetime(Long remainingLifetime)
The remaining lifetime before the key is refreshed.- Parameters:
remainingLifetime- the value to set- Returns:
- this builder
-
customAuthenticationAlgorithm
public TunnelPhaseOneDetails.Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm)
The proposed custom authentication algorithm.- Parameters:
customAuthenticationAlgorithm- the value to set- Returns:
- this builder
-
negotiatedAuthenticationAlgorithm
public TunnelPhaseOneDetails.Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)
The negotiated authentication algorithm.- Parameters:
negotiatedAuthenticationAlgorithm- the value to set- Returns:
- this builder
-
customEncryptionAlgorithm
public TunnelPhaseOneDetails.Builder customEncryptionAlgorithm(String customEncryptionAlgorithm)
The proposed custom encryption algorithm.- Parameters:
customEncryptionAlgorithm- the value to set- Returns:
- this builder
-
negotiatedEncryptionAlgorithm
public TunnelPhaseOneDetails.Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)
The negotiated encryption algorithm.- Parameters:
negotiatedEncryptionAlgorithm- the value to set- Returns:
- this builder
-
customDhGroup
public TunnelPhaseOneDetails.Builder customDhGroup(String customDhGroup)
The proposed custom Diffie-Hellman group.- Parameters:
customDhGroup- the value to set- Returns:
- this builder
-
negotiatedDhGroup
public TunnelPhaseOneDetails.Builder negotiatedDhGroup(String negotiatedDhGroup)
The negotiated Diffie-Hellman group.- Parameters:
negotiatedDhGroup- the value to set- Returns:
- this builder
-
isIkeEstablished
public TunnelPhaseOneDetails.Builder isIkeEstablished(Boolean isIkeEstablished)
Indicates whether IKE phase one is established.- Parameters:
isIkeEstablished- the value to set- Returns:
- this builder
-
remainingLifetimeLastRetrieved
public 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
-
build
public TunnelPhaseOneDetails build()
-
copy
public TunnelPhaseOneDetails.Builder copy(TunnelPhaseOneDetails model)
-
-