public static class TunnelPhaseOneDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TunnelPhaseOneDetails |
build() |
TunnelPhaseOneDetails.Builder |
copy(TunnelPhaseOneDetails model) |
TunnelPhaseOneDetails.Builder |
customAuthenticationAlgorithm(String customAuthenticationAlgorithm)
The proposed custom authentication algorithm.
|
TunnelPhaseOneDetails.Builder |
customDhGroup(String customDhGroup)
The proposed custom Diffie-Hellman group.
|
TunnelPhaseOneDetails.Builder |
customEncryptionAlgorithm(String customEncryptionAlgorithm)
The proposed custom encryption algorithm.
|
TunnelPhaseOneDetails.Builder |
isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig)
Indicates whether custom phase one configuration is enabled.
|
TunnelPhaseOneDetails.Builder |
isIkeEstablished(Boolean isIkeEstablished)
Indicates whether IKE phase one is established.
|
TunnelPhaseOneDetails.Builder |
lifetime(Long lifetime)
The total configured lifetime of the IKE security association.
|
TunnelPhaseOneDetails.Builder |
negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)
The negotiated authentication algorithm.
|
TunnelPhaseOneDetails.Builder |
negotiatedDhGroup(String negotiatedDhGroup)
The negotiated Diffie-Hellman group.
|
TunnelPhaseOneDetails.Builder |
negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)
The negotiated encryption algorithm.
|
TunnelPhaseOneDetails.Builder |
remainingLifetime(Long remainingLifetime)
The remaining lifetime before the key is refreshed.
|
TunnelPhaseOneDetails.Builder |
remainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved)
The date and time we retrieved the remaining lifetime, in the format defined by
RFC3339.
|
public TunnelPhaseOneDetails.Builder isCustomPhaseOneConfig(Boolean isCustomPhaseOneConfig)
Indicates whether custom phase one configuration is enabled. If this option is not enabled, default settings are proposed.
isCustomPhaseOneConfig
- the value to setpublic TunnelPhaseOneDetails.Builder lifetime(Long lifetime)
The total configured lifetime of the IKE security association.
lifetime
- the value to setpublic TunnelPhaseOneDetails.Builder remainingLifetime(Long remainingLifetime)
The remaining lifetime before the key is refreshed.
remainingLifetime
- the value to setpublic TunnelPhaseOneDetails.Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm)
The proposed custom authentication algorithm.
customAuthenticationAlgorithm
- the value to setpublic TunnelPhaseOneDetails.Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)
The negotiated authentication algorithm.
negotiatedAuthenticationAlgorithm
- the value to setpublic TunnelPhaseOneDetails.Builder customEncryptionAlgorithm(String customEncryptionAlgorithm)
The proposed custom encryption algorithm.
customEncryptionAlgorithm
- the value to setpublic TunnelPhaseOneDetails.Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)
The negotiated encryption algorithm.
negotiatedEncryptionAlgorithm
- the value to setpublic TunnelPhaseOneDetails.Builder customDhGroup(String customDhGroup)
The proposed custom Diffie-Hellman group.
customDhGroup
- the value to setpublic TunnelPhaseOneDetails.Builder negotiatedDhGroup(String negotiatedDhGroup)
The negotiated Diffie-Hellman group.
negotiatedDhGroup
- the value to setpublic TunnelPhaseOneDetails.Builder isIkeEstablished(Boolean isIkeEstablished)
Indicates whether IKE phase one is established.
isIkeEstablished
- the value to setpublic 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
remainingLifetimeLastRetrieved
- the value to setpublic TunnelPhaseOneDetails build()
public TunnelPhaseOneDetails.Builder copy(TunnelPhaseOneDetails model)
Copyright © 2016–2024. All rights reserved.