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

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

    public static final GetL2ConnectionArgs Empty = new GetL2ConnectionArgs();

    /**
     * L2 Connection name.
     * 
     */
    @Import(name="l2ConnectionName", required=true)
    private Output l2ConnectionName;

    /**
     * @return L2 Connection name.
     * 
     */
    public Output l2ConnectionName() {
        return this.l2ConnectionName;
    }

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

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

    private GetL2ConnectionArgs() {}

    private GetL2ConnectionArgs(GetL2ConnectionArgs $) {
        this.l2ConnectionName = $.l2ConnectionName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetL2ConnectionArgs $;

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

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

        /**
         * @param l2ConnectionName L2 Connection name.
         * 
         * @return builder
         * 
         */
        public Builder l2ConnectionName(Output l2ConnectionName) {
            $.l2ConnectionName = l2ConnectionName;
            return this;
        }

        /**
         * @param l2ConnectionName L2 Connection name.
         * 
         * @return builder
         * 
         */
        public Builder l2ConnectionName(String l2ConnectionName) {
            return l2ConnectionName(Output.of(l2ConnectionName));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy