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

com.pulumi.azurenative.network.inputs.GetVpnLinkConnectionIkeSasArgs 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 GetVpnLinkConnectionIkeSasArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVpnLinkConnectionIkeSasArgs Empty = new GetVpnLinkConnectionIkeSasArgs();

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

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

    /**
     * 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 name of the vpn link connection.
     * 
     */
    @Import(name="linkConnectionName", required=true)
    private Output linkConnectionName;

    /**
     * @return The name of the vpn link connection.
     * 
     */
    public Output linkConnectionName() {
        return this.linkConnectionName;
    }

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

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

    private GetVpnLinkConnectionIkeSasArgs() {}

    private GetVpnLinkConnectionIkeSasArgs(GetVpnLinkConnectionIkeSasArgs $) {
        this.connectionName = $.connectionName;
        this.gatewayName = $.gatewayName;
        this.linkConnectionName = $.linkConnectionName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetVpnLinkConnectionIkeSasArgs $;

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

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

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

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

        /**
         * @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 linkConnectionName The name of the vpn link connection.
         * 
         * @return builder
         * 
         */
        public Builder linkConnectionName(Output linkConnectionName) {
            $.linkConnectionName = linkConnectionName;
            return this;
        }

        /**
         * @param linkConnectionName The name of the vpn link connection.
         * 
         * @return builder
         * 
         */
        public Builder linkConnectionName(String linkConnectionName) {
            return linkConnectionName(Output.of(linkConnectionName));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy