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

com.pulumi.azurenative.managednetworkfabric.inputs.GetExternalNetworkPlainArgs 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetExternalNetworkPlainArgs Empty = new GetExternalNetworkPlainArgs();

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

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

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

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

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

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

    private GetExternalNetworkPlainArgs() {}

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

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

    public static final class Builder {
        private GetExternalNetworkPlainArgs $;

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

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

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

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

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

        public GetExternalNetworkPlainArgs build() {
            if ($.externalNetworkName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkPlainArgs", "externalNetworkName");
            }
            if ($.l3IsolationDomainName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkPlainArgs", "l3IsolationDomainName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetExternalNetworkPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy