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

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

There is a newer version: 2.72.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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetHubVirtualNetworkConnectionPlainArgs Empty = new GetHubVirtualNetworkConnectionPlainArgs();

    /**
     * The name of the vpn connection.
     * 
     */
    @Import(name="connectionName", required=true)
    private String connectionName;

    /**
     * @return The name of the vpn connection.
     * 
     */
    public String connectionName() {
        return this.connectionName;
    }

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

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

    /**
     * The name of the VirtualHub.
     * 
     */
    @Import(name="virtualHubName", required=true)
    private String virtualHubName;

    /**
     * @return The name of the VirtualHub.
     * 
     */
    public String virtualHubName() {
        return this.virtualHubName;
    }

    private GetHubVirtualNetworkConnectionPlainArgs() {}

    private GetHubVirtualNetworkConnectionPlainArgs(GetHubVirtualNetworkConnectionPlainArgs $) {
        this.connectionName = $.connectionName;
        this.resourceGroupName = $.resourceGroupName;
        this.virtualHubName = $.virtualHubName;
    }

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

    public static final class Builder {
        private GetHubVirtualNetworkConnectionPlainArgs $;

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

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

        /**
         * @param connectionName The name of the vpn connection.
         * 
         * @return builder
         * 
         */
        public Builder connectionName(String connectionName) {
            $.connectionName = connectionName;
            return this;
        }

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

        /**
         * @param virtualHubName The name of the VirtualHub.
         * 
         * @return builder
         * 
         */
        public Builder virtualHubName(String virtualHubName) {
            $.virtualHubName = virtualHubName;
            return this;
        }

        public GetHubVirtualNetworkConnectionPlainArgs build() {
            if ($.connectionName == null) {
                throw new MissingRequiredPropertyException("GetHubVirtualNetworkConnectionPlainArgs", "connectionName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetHubVirtualNetworkConnectionPlainArgs", "resourceGroupName");
            }
            if ($.virtualHubName == null) {
                throw new MissingRequiredPropertyException("GetHubVirtualNetworkConnectionPlainArgs", "virtualHubName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy