All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.inputs.PointToPointVpnGatewayConnectionConfigurationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.network.inputs;

import com.pulumi.azure.network.inputs.PointToPointVpnGatewayConnectionConfigurationRouteArgs;
import com.pulumi.azure.network.inputs.PointToPointVpnGatewayConnectionConfigurationVpnClientAddressPoolArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PointToPointVpnGatewayConnectionConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final PointToPointVpnGatewayConnectionConfigurationArgs Empty = new PointToPointVpnGatewayConnectionConfigurationArgs();

    /**
     * Should Internet Security be enabled to secure internet traffic? Changing this forces a new resource to be created. Defaults to `false`.
     * 
     */
    @Import(name="internetSecurityEnabled")
    private @Nullable Output internetSecurityEnabled;

    /**
     * @return Should Internet Security be enabled to secure internet traffic? Changing this forces a new resource to be created. Defaults to `false`.
     * 
     */
    public Optional> internetSecurityEnabled() {
        return Optional.ofNullable(this.internetSecurityEnabled);
    }

    /**
     * The Name which should be used for this Connection Configuration.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The Name which should be used for this Connection Configuration.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * A `route` block as defined below.
     * 
     */
    @Import(name="route")
    private @Nullable Output route;

    /**
     * @return A `route` block as defined below.
     * 
     */
    public Optional> route() {
        return Optional.ofNullable(this.route);
    }

    /**
     * A `vpn_client_address_pool` block as defined below.
     * 
     */
    @Import(name="vpnClientAddressPool", required=true)
    private Output vpnClientAddressPool;

    /**
     * @return A `vpn_client_address_pool` block as defined below.
     * 
     */
    public Output vpnClientAddressPool() {
        return this.vpnClientAddressPool;
    }

    private PointToPointVpnGatewayConnectionConfigurationArgs() {}

    private PointToPointVpnGatewayConnectionConfigurationArgs(PointToPointVpnGatewayConnectionConfigurationArgs $) {
        this.internetSecurityEnabled = $.internetSecurityEnabled;
        this.name = $.name;
        this.route = $.route;
        this.vpnClientAddressPool = $.vpnClientAddressPool;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PointToPointVpnGatewayConnectionConfigurationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PointToPointVpnGatewayConnectionConfigurationArgs $;

        public Builder() {
            $ = new PointToPointVpnGatewayConnectionConfigurationArgs();
        }

        public Builder(PointToPointVpnGatewayConnectionConfigurationArgs defaults) {
            $ = new PointToPointVpnGatewayConnectionConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param internetSecurityEnabled Should Internet Security be enabled to secure internet traffic? Changing this forces a new resource to be created. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder internetSecurityEnabled(@Nullable Output internetSecurityEnabled) {
            $.internetSecurityEnabled = internetSecurityEnabled;
            return this;
        }

        /**
         * @param internetSecurityEnabled Should Internet Security be enabled to secure internet traffic? Changing this forces a new resource to be created. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder internetSecurityEnabled(Boolean internetSecurityEnabled) {
            return internetSecurityEnabled(Output.of(internetSecurityEnabled));
        }

        /**
         * @param name The Name which should be used for this Connection Configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The Name which should be used for this Connection Configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param route A `route` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder route(@Nullable Output route) {
            $.route = route;
            return this;
        }

        /**
         * @param route A `route` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder route(PointToPointVpnGatewayConnectionConfigurationRouteArgs route) {
            return route(Output.of(route));
        }

        /**
         * @param vpnClientAddressPool A `vpn_client_address_pool` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientAddressPool(Output vpnClientAddressPool) {
            $.vpnClientAddressPool = vpnClientAddressPool;
            return this;
        }

        /**
         * @param vpnClientAddressPool A `vpn_client_address_pool` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder vpnClientAddressPool(PointToPointVpnGatewayConnectionConfigurationVpnClientAddressPoolArgs vpnClientAddressPool) {
            return vpnClientAddressPool(Output.of(vpnClientAddressPool));
        }

        public PointToPointVpnGatewayConnectionConfigurationArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("PointToPointVpnGatewayConnectionConfigurationArgs", "name");
            }
            if ($.vpnClientAddressPool == null) {
                throw new MissingRequiredPropertyException("PointToPointVpnGatewayConnectionConfigurationArgs", "vpnClientAddressPool");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy