Class VpnGatewayArgs.Builder

  • Enclosing class:
    VpnGatewayArgs

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

      • Builder

        public Builder()
    • Method Detail

      • bgpSettings

        public VpnGatewayArgs.Builder bgpSettings​(@Nullable
                                                  com.pulumi.core.Output<BgpSettingsArgs> bgpSettings)
        Parameters:
        bgpSettings - Local network gateway's BGP speaker settings.
        Returns:
        builder
      • connections

        public VpnGatewayArgs.Builder connections​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<VpnConnectionArgs>> connections)
        Parameters:
        connections - List of all vpn connections to the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • connections

        public VpnGatewayArgs.Builder connections​(java.util.List<VpnConnectionArgs> connections)
        Parameters:
        connections - List of all vpn connections to the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • connections

        public VpnGatewayArgs.Builder connections​(VpnConnectionArgs... connections)
        Parameters:
        connections - List of all vpn connections to the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • enableBgpRouteTranslationForNat

        public VpnGatewayArgs.Builder enableBgpRouteTranslationForNat​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Boolean> enableBgpRouteTranslationForNat)
        Parameters:
        enableBgpRouteTranslationForNat - Enable BGP routes translation for NAT on this VpnGateway.
        Returns:
        builder
      • enableBgpRouteTranslationForNat

        public VpnGatewayArgs.Builder enableBgpRouteTranslationForNat​(java.lang.Boolean enableBgpRouteTranslationForNat)
        Parameters:
        enableBgpRouteTranslationForNat - Enable BGP routes translation for NAT on this VpnGateway.
        Returns:
        builder
      • gatewayName

        public VpnGatewayArgs.Builder gatewayName​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> gatewayName)
        Parameters:
        gatewayName - The name of the gateway.
        Returns:
        builder
      • gatewayName

        public VpnGatewayArgs.Builder gatewayName​(java.lang.String gatewayName)
        Parameters:
        gatewayName - The name of the gateway.
        Returns:
        builder
      • id

        public VpnGatewayArgs.Builder id​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> id)
        Parameters:
        id - Resource ID.
        Returns:
        builder
      • id

        public VpnGatewayArgs.Builder id​(java.lang.String id)
        Parameters:
        id - Resource ID.
        Returns:
        builder
      • isRoutingPreferenceInternet

        public VpnGatewayArgs.Builder isRoutingPreferenceInternet​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> isRoutingPreferenceInternet)
        Parameters:
        isRoutingPreferenceInternet - Enable Routing Preference property for the Public IP Interface of the VpnGateway.
        Returns:
        builder
      • isRoutingPreferenceInternet

        public VpnGatewayArgs.Builder isRoutingPreferenceInternet​(java.lang.Boolean isRoutingPreferenceInternet)
        Parameters:
        isRoutingPreferenceInternet - Enable Routing Preference property for the Public IP Interface of the VpnGateway.
        Returns:
        builder
      • location

        public VpnGatewayArgs.Builder location​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - Resource location.
        Returns:
        builder
      • location

        public VpnGatewayArgs.Builder location​(java.lang.String location)
        Parameters:
        location - Resource location.
        Returns:
        builder
      • natRules

        public VpnGatewayArgs.Builder natRules​(@Nullable
                                               com.pulumi.core.Output<java.util.List<VpnGatewayNatRuleArgs>> natRules)
        Parameters:
        natRules - List of all the nat Rules associated with the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • natRules

        public VpnGatewayArgs.Builder natRules​(java.util.List<VpnGatewayNatRuleArgs> natRules)
        Parameters:
        natRules - List of all the nat Rules associated with the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • natRules

        public VpnGatewayArgs.Builder natRules​(VpnGatewayNatRuleArgs... natRules)
        Parameters:
        natRules - List of all the nat Rules associated with the gateway. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
        Returns:
        builder
      • resourceGroupName

        public VpnGatewayArgs.Builder resourceGroupName​(com.pulumi.core.Output<java.lang.String> resourceGroupName)
        Parameters:
        resourceGroupName - The resource group name of the VpnGateway.
        Returns:
        builder
      • resourceGroupName

        public VpnGatewayArgs.Builder resourceGroupName​(java.lang.String resourceGroupName)
        Parameters:
        resourceGroupName - The resource group name of the VpnGateway.
        Returns:
        builder
      • tags

        public VpnGatewayArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Resource tags.
        Returns:
        builder
      • tags

        public VpnGatewayArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Resource tags.
        Returns:
        builder
      • virtualHub

        public VpnGatewayArgs.Builder virtualHub​(@Nullable
                                                 com.pulumi.core.Output<SubResourceArgs> virtualHub)
        Parameters:
        virtualHub - The VirtualHub to which the gateway belongs.
        Returns:
        builder
      • vpnGatewayScaleUnit

        public VpnGatewayArgs.Builder vpnGatewayScaleUnit​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> vpnGatewayScaleUnit)
        Parameters:
        vpnGatewayScaleUnit - The scale unit for this vpn gateway.
        Returns:
        builder
      • vpnGatewayScaleUnit

        public VpnGatewayArgs.Builder vpnGatewayScaleUnit​(java.lang.Integer vpnGatewayScaleUnit)
        Parameters:
        vpnGatewayScaleUnit - The scale unit for this vpn gateway.
        Returns:
        builder