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

com.pulumi.azurenative.network.inputs.GetVpnGatewayArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.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.Objects;


public final class GetVpnGatewayArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpnGatewayArgs Empty = new GetVpnGatewayArgs();

    /**
     * The name of the gateway.
     * 
     */
    @Import(name="gatewayName", required=true)
    private Output gatewayName;

    /**
     * @return The name of the gateway.
     * 
     */
    public Output gatewayName() {
        return this.gatewayName;
    }

    /**
     * The resource group name of the VpnGateway.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The resource group name of the VpnGateway.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetVpnGatewayArgs() {}

    private GetVpnGatewayArgs(GetVpnGatewayArgs $) {
        this.gatewayName = $.gatewayName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetVpnGatewayArgs $;

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

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

        /**
         * @param gatewayName The name of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayName(Output gatewayName) {
            $.gatewayName = gatewayName;
            return this;
        }

        /**
         * @param gatewayName The name of the gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayName(String gatewayName) {
            return gatewayName(Output.of(gatewayName));
        }

        /**
         * @param resourceGroupName The resource group name of the VpnGateway.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The resource group name of the VpnGateway.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetVpnGatewayArgs build() {
            if ($.gatewayName == null) {
                throw new MissingRequiredPropertyException("GetVpnGatewayArgs", "gatewayName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetVpnGatewayArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy