Class ConnectionArgs.Builder

  • Enclosing class:
    ConnectionArgs

    public static final class ConnectionArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • 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
      • 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