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

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

// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs Empty = new VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs();

    /**
     * A list of address prefixes for P2S VPN Client.
     * 
     */
    @Import(name="addressPrefixes", required=true)
    private Output> addressPrefixes;

    /**
     * @return A list of address prefixes for P2S VPN Client.
     * 
     */
    public Output> addressPrefixes() {
        return this.addressPrefixes;
    }

    /**
     * The name of the Virtual Network Gateway Client Connection.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the Virtual Network Gateway Client Connection.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * A list of names of Virtual Network Gateway Policy Groups.
     * 
     */
    @Import(name="policyGroupNames", required=true)
    private Output> policyGroupNames;

    /**
     * @return A list of names of Virtual Network Gateway Policy Groups.
     * 
     */
    public Output> policyGroupNames() {
        return this.policyGroupNames;
    }

    private VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs() {}

    private VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs(VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs $) {
        this.addressPrefixes = $.addressPrefixes;
        this.name = $.name;
        this.policyGroupNames = $.policyGroupNames;
    }

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

    public static final class Builder {
        private VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs $;

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

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

        /**
         * @param addressPrefixes A list of address prefixes for P2S VPN Client.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(Output> addressPrefixes) {
            $.addressPrefixes = addressPrefixes;
            return this;
        }

        /**
         * @param addressPrefixes A list of address prefixes for P2S VPN Client.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(List addressPrefixes) {
            return addressPrefixes(Output.of(addressPrefixes));
        }

        /**
         * @param addressPrefixes A list of address prefixes for P2S VPN Client.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(String... addressPrefixes) {
            return addressPrefixes(List.of(addressPrefixes));
        }

        /**
         * @param name The name of the Virtual Network Gateway Client Connection.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Virtual Network Gateway Client Connection.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param policyGroupNames A list of names of Virtual Network Gateway Policy Groups.
         * 
         * @return builder
         * 
         */
        public Builder policyGroupNames(Output> policyGroupNames) {
            $.policyGroupNames = policyGroupNames;
            return this;
        }

        /**
         * @param policyGroupNames A list of names of Virtual Network Gateway Policy Groups.
         * 
         * @return builder
         * 
         */
        public Builder policyGroupNames(List policyGroupNames) {
            return policyGroupNames(Output.of(policyGroupNames));
        }

        /**
         * @param policyGroupNames A list of names of Virtual Network Gateway Policy Groups.
         * 
         * @return builder
         * 
         */
        public Builder policyGroupNames(String... policyGroupNames) {
            return policyGroupNames(List.of(policyGroupNames));
        }

        public VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs build() {
            if ($.addressPrefixes == null) {
                throw new MissingRequiredPropertyException("VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs", "addressPrefixes");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs", "name");
            }
            if ($.policyGroupNames == null) {
                throw new MissingRequiredPropertyException("VirtualNetworkGatewayVpnClientConfigurationVirtualNetworkGatewayClientConnectionArgs", "policyGroupNames");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy