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

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

    public static final GetExternalNetworkArgs Empty = new GetExternalNetworkArgs();

    /**
     * Name of the ExternalNetwork
     * 
     */
    @Import(name="externalNetworkName", required=true)
    private Output externalNetworkName;

    /**
     * @return Name of the ExternalNetwork
     * 
     */
    public Output externalNetworkName() {
        return this.externalNetworkName;
    }

    /**
     * Name of the L3IsolationDomain
     * 
     */
    @Import(name="l3IsolationDomainName", required=true)
    private Output l3IsolationDomainName;

    /**
     * @return Name of the L3IsolationDomain
     * 
     */
    public Output l3IsolationDomainName() {
        return this.l3IsolationDomainName;
    }

    /**
     * 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 GetExternalNetworkArgs() {}

    private GetExternalNetworkArgs(GetExternalNetworkArgs $) {
        this.externalNetworkName = $.externalNetworkName;
        this.l3IsolationDomainName = $.l3IsolationDomainName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetExternalNetworkArgs $;

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

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

        /**
         * @param externalNetworkName Name of the ExternalNetwork
         * 
         * @return builder
         * 
         */
        public Builder externalNetworkName(Output externalNetworkName) {
            $.externalNetworkName = externalNetworkName;
            return this;
        }

        /**
         * @param externalNetworkName Name of the ExternalNetwork
         * 
         * @return builder
         * 
         */
        public Builder externalNetworkName(String externalNetworkName) {
            return externalNetworkName(Output.of(externalNetworkName));
        }

        /**
         * @param l3IsolationDomainName Name of the L3IsolationDomain
         * 
         * @return builder
         * 
         */
        public Builder l3IsolationDomainName(Output l3IsolationDomainName) {
            $.l3IsolationDomainName = l3IsolationDomainName;
            return this;
        }

        /**
         * @param l3IsolationDomainName Name of the L3IsolationDomain
         * 
         * @return builder
         * 
         */
        public Builder l3IsolationDomainName(String l3IsolationDomainName) {
            return l3IsolationDomainName(Output.of(l3IsolationDomainName));
        }

        /**
         * @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 GetExternalNetworkArgs build() {
            if ($.externalNetworkName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkArgs", "externalNetworkName");
            }
            if ($.l3IsolationDomainName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkArgs", "l3IsolationDomainName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy