public static final class ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder extends Object
构造器和说明 |
---|
Builder() |
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder enableDpd(Boolean enableDpd)
* **true**: DPD is enabled. The IPsec initiator sends DPD packets to verify the existence and availability of the IPsec peer. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted. * **false**: DPD is disabled. The IPsec initiator does not send DPD packets.
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder enableNatTraversal(Boolean enableNatTraversal)
* **true**: NAT traversal is enabled. After NAT traversal is enabled, the initiator does not check the UDP ports during Internet Key Exchange (IKE) negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel. * **false**: NAT traversal is disabled.
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder remoteCaCertificate(String remoteCaCertificate)
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder tunnelBgpConfig(ModifyTunnelAttributeRequest.TunnelBgpConfig tunnelBgpConfig)
If the BGP feature is not enabled for the tunnel, you must call the [ModifyVpnConnectionAttribute](~~120381~~) operation to enable the BGP feature for the tunnel and configure BGP.
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder tunnelIkeConfig(ModifyTunnelAttributeRequest.TunnelIkeConfig tunnelIkeConfig)
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification.Builder tunnelIpsecConfig(ModifyTunnelAttributeRequest.TunnelIpsecConfig tunnelIpsecConfig)
public ModifyTunnelAttributeRequest.TunnelOptionsSpecification build()
Copyright © 2024. All rights reserved.