Package com.pulumi.alicloud.vpn
Class ConnectionArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.vpn.ConnectionArgs.Builder
-
- Enclosing class:
- ConnectionArgs
public static final class ConnectionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ConnectionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionArgs.Builder
bgpConfig(ConnectionBgpConfigArgs bgpConfig)
ConnectionArgs.Builder
bgpConfig(com.pulumi.core.Output<ConnectionBgpConfigArgs> bgpConfig)
ConnectionArgs
build()
ConnectionArgs.Builder
customerGatewayId(com.pulumi.core.Output<java.lang.String> customerGatewayId)
ConnectionArgs.Builder
customerGatewayId(java.lang.String customerGatewayId)
ConnectionArgs.Builder
effectImmediately(com.pulumi.core.Output<java.lang.Boolean> effectImmediately)
ConnectionArgs.Builder
effectImmediately(java.lang.Boolean effectImmediately)
ConnectionArgs.Builder
enableDpd(com.pulumi.core.Output<java.lang.Boolean> enableDpd)
ConnectionArgs.Builder
enableDpd(java.lang.Boolean enableDpd)
ConnectionArgs.Builder
enableNatTraversal(com.pulumi.core.Output<java.lang.Boolean> enableNatTraversal)
ConnectionArgs.Builder
enableNatTraversal(java.lang.Boolean enableNatTraversal)
ConnectionArgs.Builder
healthCheckConfig(ConnectionHealthCheckConfigArgs healthCheckConfig)
ConnectionArgs.Builder
healthCheckConfig(com.pulumi.core.Output<ConnectionHealthCheckConfigArgs> healthCheckConfig)
ConnectionArgs.Builder
ikeConfig(ConnectionIkeConfigArgs ikeConfig)
ConnectionArgs.Builder
ikeConfig(com.pulumi.core.Output<ConnectionIkeConfigArgs> ikeConfig)
ConnectionArgs.Builder
ipsecConfig(ConnectionIpsecConfigArgs ipsecConfig)
ConnectionArgs.Builder
ipsecConfig(com.pulumi.core.Output<ConnectionIpsecConfigArgs> ipsecConfig)
ConnectionArgs.Builder
localSubnets(com.pulumi.core.Output<java.util.List<java.lang.String>> localSubnets)
ConnectionArgs.Builder
localSubnets(java.lang.String... localSubnets)
ConnectionArgs.Builder
localSubnets(java.util.List<java.lang.String> localSubnets)
ConnectionArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ConnectionArgs.Builder
name(java.lang.String name)
ConnectionArgs.Builder
remoteSubnets(com.pulumi.core.Output<java.util.List<java.lang.String>> remoteSubnets)
ConnectionArgs.Builder
remoteSubnets(java.lang.String... remoteSubnets)
ConnectionArgs.Builder
remoteSubnets(java.util.List<java.lang.String> remoteSubnets)
ConnectionArgs.Builder
vpnGatewayId(com.pulumi.core.Output<java.lang.String> vpnGatewayId)
ConnectionArgs.Builder
vpnGatewayId(java.lang.String vpnGatewayId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ConnectionArgs defaults)
-
-
Method Detail
-
bgpConfig
public ConnectionArgs.Builder bgpConfig(@Nullable com.pulumi.core.Output<ConnectionBgpConfigArgs> bgpConfig)
- Parameters:
bgpConfig
- The configurations of the BGP routing protocol. See `bgp_config` below.- Returns:
- builder
-
bgpConfig
public ConnectionArgs.Builder bgpConfig(ConnectionBgpConfigArgs bgpConfig)
- Parameters:
bgpConfig
- The configurations of the BGP routing protocol. See `bgp_config` below.- Returns:
- builder
-
customerGatewayId
public ConnectionArgs.Builder customerGatewayId(com.pulumi.core.Output<java.lang.String> customerGatewayId)
- Parameters:
customerGatewayId
- The ID of the customer gateway.- Returns:
- builder
-
customerGatewayId
public ConnectionArgs.Builder customerGatewayId(java.lang.String customerGatewayId)
- Parameters:
customerGatewayId
- The ID of the customer gateway.- Returns:
- builder
-
effectImmediately
public ConnectionArgs.Builder effectImmediately(@Nullable com.pulumi.core.Output<java.lang.Boolean> effectImmediately)
- Parameters:
effectImmediately
- Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.- Returns:
- builder
-
effectImmediately
public ConnectionArgs.Builder effectImmediately(java.lang.Boolean effectImmediately)
- Parameters:
effectImmediately
- Whether to delete a successfully negotiated IPsec tunnel and initiate a negotiation again. Valid value:true,false.- Returns:
- builder
-
enableDpd
public ConnectionArgs.Builder enableDpd(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableDpd)
- Parameters:
enableDpd
- Specifies whether to enable the dead peer detection (DPD) feature. Valid values: `true`(default), `false`.- Returns:
- builder
-
enableDpd
public ConnectionArgs.Builder enableDpd(java.lang.Boolean enableDpd)
- Parameters:
enableDpd
- Specifies whether to enable the dead peer detection (DPD) feature. Valid values: `true`(default), `false`.- Returns:
- builder
-
enableNatTraversal
public ConnectionArgs.Builder enableNatTraversal(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableNatTraversal)
- Parameters:
enableNatTraversal
- Specifies whether to enable NAT traversal. Valid values: `true`(default), `false`.- Returns:
- builder
-
enableNatTraversal
public ConnectionArgs.Builder enableNatTraversal(java.lang.Boolean enableNatTraversal)
- Parameters:
enableNatTraversal
- Specifies whether to enable NAT traversal. Valid values: `true`(default), `false`.- Returns:
- builder
-
healthCheckConfig
public ConnectionArgs.Builder healthCheckConfig(@Nullable com.pulumi.core.Output<ConnectionHealthCheckConfigArgs> healthCheckConfig)
- Parameters:
healthCheckConfig
- The health check configurations. See `health_check_config` below.- Returns:
- builder
-
healthCheckConfig
public ConnectionArgs.Builder healthCheckConfig(ConnectionHealthCheckConfigArgs healthCheckConfig)
- Parameters:
healthCheckConfig
- The health check configurations. See `health_check_config` below.- Returns:
- builder
-
ikeConfig
public ConnectionArgs.Builder ikeConfig(@Nullable com.pulumi.core.Output<ConnectionIkeConfigArgs> ikeConfig)
- Parameters:
ikeConfig
- The configurations of phase-one negotiation. See `ike_config` below.- Returns:
- builder
-
ikeConfig
public ConnectionArgs.Builder ikeConfig(ConnectionIkeConfigArgs ikeConfig)
- Parameters:
ikeConfig
- The configurations of phase-one negotiation. See `ike_config` below.- Returns:
- builder
-
ipsecConfig
public ConnectionArgs.Builder ipsecConfig(@Nullable com.pulumi.core.Output<ConnectionIpsecConfigArgs> ipsecConfig)
- Parameters:
ipsecConfig
- The configurations of phase-two negotiation. See `ipsec_config` below.- Returns:
- builder
-
ipsecConfig
public ConnectionArgs.Builder ipsecConfig(ConnectionIpsecConfigArgs ipsecConfig)
- Parameters:
ipsecConfig
- The configurations of phase-two negotiation. See `ipsec_config` below.- Returns:
- builder
-
localSubnets
public ConnectionArgs.Builder localSubnets(com.pulumi.core.Output<java.util.List<java.lang.String>> localSubnets)
- Parameters:
localSubnets
- The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
localSubnets
public ConnectionArgs.Builder localSubnets(java.util.List<java.lang.String> localSubnets)
- Parameters:
localSubnets
- The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
localSubnets
public ConnectionArgs.Builder localSubnets(java.lang.String... localSubnets)
- Parameters:
localSubnets
- The CIDR block of the VPC to be connected with the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
name
public ConnectionArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the IPsec connection.- Returns:
- builder
-
name
public ConnectionArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the IPsec connection.- Returns:
- builder
-
remoteSubnets
public ConnectionArgs.Builder remoteSubnets(com.pulumi.core.Output<java.util.List<java.lang.String>> remoteSubnets)
- Parameters:
remoteSubnets
- The CIDR block of the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
remoteSubnets
public ConnectionArgs.Builder remoteSubnets(java.util.List<java.lang.String> remoteSubnets)
- Parameters:
remoteSubnets
- The CIDR block of the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
remoteSubnets
public ConnectionArgs.Builder remoteSubnets(java.lang.String... remoteSubnets)
- Parameters:
remoteSubnets
- The CIDR block of the local data center. This parameter is used for phase-two negotiation.- Returns:
- builder
-
vpnGatewayId
public ConnectionArgs.Builder vpnGatewayId(com.pulumi.core.Output<java.lang.String> vpnGatewayId)
- Parameters:
vpnGatewayId
- The ID of the VPN gateway.- Returns:
- builder
-
vpnGatewayId
public ConnectionArgs.Builder vpnGatewayId(java.lang.String vpnGatewayId)
- Parameters:
vpnGatewayId
- The ID of the VPN gateway.- Returns:
- builder
-
build
public ConnectionArgs build()
-
-