public static class TunnelPhaseTwoDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TunnelPhaseTwoDetails |
build() |
TunnelPhaseTwoDetails.Builder |
copy(TunnelPhaseTwoDetails model) |
TunnelPhaseTwoDetails.Builder |
customAuthenticationAlgorithm(String customAuthenticationAlgorithm)
Phase two authentication algorithm proposed during tunnel negotiation.
|
TunnelPhaseTwoDetails.Builder |
customEncryptionAlgorithm(String customEncryptionAlgorithm)
The proposed custom phase two encryption algorithm.
|
TunnelPhaseTwoDetails.Builder |
dhGroup(String dhGroup)
The proposed Diffie-Hellman group.
|
TunnelPhaseTwoDetails.Builder |
isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig)
Indicates whether custom phase two configuration is enabled.
|
TunnelPhaseTwoDetails.Builder |
isEspEstablished(Boolean isEspEstablished)
Indicates that ESP phase two is established.
|
TunnelPhaseTwoDetails.Builder |
isPfsEnabled(Boolean isPfsEnabled)
Indicates that PFS (perfect forward secrecy) is enabled.
|
TunnelPhaseTwoDetails.Builder |
lifetime(Long lifetime)
The total configured lifetime of the IKE security association.
|
TunnelPhaseTwoDetails.Builder |
negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)
The negotiated phase two authentication algorithm.
|
TunnelPhaseTwoDetails.Builder |
negotiatedDhGroup(String negotiatedDhGroup)
The negotiated Diffie-Hellman group.
|
TunnelPhaseTwoDetails.Builder |
negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)
The negotiated encryption algorithm.
|
TunnelPhaseTwoDetails.Builder |
remainingLifetime(Long remainingLifetime)
The remaining lifetime before the key is refreshed.
|
TunnelPhaseTwoDetails.Builder |
remainingLifetimeLastRetrieved(Date remainingLifetimeLastRetrieved)
The date and time the remaining lifetime was last retrieved, in the format defined by
RFC3339.
|
public TunnelPhaseTwoDetails.Builder isCustomPhaseTwoConfig(Boolean isCustomPhaseTwoConfig)
Indicates whether custom phase two configuration is enabled. If this option is not enabled, default settings are proposed.
isCustomPhaseTwoConfig
- the value to setpublic TunnelPhaseTwoDetails.Builder lifetime(Long lifetime)
The total configured lifetime of the IKE security association.
lifetime
- the value to setpublic TunnelPhaseTwoDetails.Builder remainingLifetime(Long remainingLifetime)
The remaining lifetime before the key is refreshed.
remainingLifetime
- the value to setpublic TunnelPhaseTwoDetails.Builder customAuthenticationAlgorithm(String customAuthenticationAlgorithm)
Phase two authentication algorithm proposed during tunnel negotiation.
customAuthenticationAlgorithm
- the value to setpublic TunnelPhaseTwoDetails.Builder negotiatedAuthenticationAlgorithm(String negotiatedAuthenticationAlgorithm)
The negotiated phase two authentication algorithm.
negotiatedAuthenticationAlgorithm
- the value to setpublic TunnelPhaseTwoDetails.Builder customEncryptionAlgorithm(String customEncryptionAlgorithm)
The proposed custom phase two encryption algorithm.
customEncryptionAlgorithm
- the value to setpublic TunnelPhaseTwoDetails.Builder negotiatedEncryptionAlgorithm(String negotiatedEncryptionAlgorithm)
The negotiated encryption algorithm.
negotiatedEncryptionAlgorithm
- the value to setpublic TunnelPhaseTwoDetails.Builder dhGroup(String dhGroup)
The proposed Diffie-Hellman group.
dhGroup
- the value to setpublic TunnelPhaseTwoDetails.Builder negotiatedDhGroup(String negotiatedDhGroup)
The negotiated Diffie-Hellman group.
negotiatedDhGroup
- the value to setpublic TunnelPhaseTwoDetails.Builder isEspEstablished(Boolean isEspEstablished)
Indicates that ESP phase two is established.
isEspEstablished
- the value to setpublic TunnelPhaseTwoDetails.Builder isPfsEnabled(Boolean isPfsEnabled)
Indicates that PFS (perfect forward secrecy) is enabled.
isPfsEnabled
- the value to setpublic 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
remainingLifetimeLastRetrieved
- the value to setpublic TunnelPhaseTwoDetails build()
public TunnelPhaseTwoDetails.Builder copy(TunnelPhaseTwoDetails model)
Copyright © 2016–2024. All rights reserved.