public static final class ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyTunnelAttributeRequest.TunnelIpsecConfig |
build() |
ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder |
ipsecAuthAlg(String ipsecAuthAlg)
The authentication algorithm that is used in IPsec Phase 2 negotiations.
|
ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder |
ipsecEncAlg(String ipsecEncAlg)
The encryption algorithm that is used in IPsec Phase 2 negotiations.
|
ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder |
ipsecLifetime(Long ipsecLifetime)
The SA lifetime that is used in IPsec Phase 2 negotiations.
|
ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder |
ipsecPfs(String ipsecPfs)
The DH key exchange algorithm that is used in IPsec Phase 2 negotiations.
|
public ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder ipsecAuthAlg(String ipsecAuthAlg)
* Valid values when the IPsec connection is attached to a standard VPN gateway: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm3**.
public ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder ipsecEncAlg(String ipsecEncAlg)
* Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **sha256**, **des**, and **3des**. * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm4**.
public ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder ipsecLifetime(Long ipsecLifetime)
public ModifyTunnelAttributeRequest.TunnelIpsecConfig.Builder ipsecPfs(String ipsecPfs)
public ModifyTunnelAttributeRequest.TunnelIpsecConfig build()
Copyright © 2024. All rights reserved.