Compartilhar via


VcnGatewayConnectionConfig.Builder(String, IkeTunnelConnectionParams) Constructor

Definition

Construct a Builder object.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/ipsec/ike/IkeTunnelConnectionParams;)V", "", ApiSince=31)]
public Builder (string gatewayConnectionName, Android.Net.IpSec.Ike.IkeTunnelConnectionParams tunnelConnectionParams);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/net/ipsec/ike/IkeTunnelConnectionParams;)V", "", ApiSince=31)>]
new Android.Net.Vcn.VcnGatewayConnectionConfig.Builder : string * Android.Net.IpSec.Ike.IkeTunnelConnectionParams -> Android.Net.Vcn.VcnGatewayConnectionConfig.Builder

Parameters

gatewayConnectionName
String

the String GatewayConnection name for this VcnGatewayConnectionConfig. Each VcnGatewayConnectionConfig within a VcnConfig must be given a unique name. This name is used by the caller to distinguish between VcnGatewayConnectionConfigs configured on a single VcnConfig. This will be used as the identifier in VcnStatusCallback invocations.

tunnelConnectionParams
IkeTunnelConnectionParams

the IKE tunnel connection configuration

Attributes

Remarks

Construct a Builder object.

Java documentation for android.net.vcn.VcnGatewayConnectionConfig.Builder.VcnGatewayConnectionConfig$Builder(java.lang.String, android.net.ipsec.ike.IkeTunnelConnectionParams).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to