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

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

    public static final GetInboundEndpointArgs Empty = new GetInboundEndpointArgs();

    /**
     * The name of the DNS resolver.
     * 
     */
    @Import(name="dnsResolverName", required=true)
    private Output dnsResolverName;

    /**
     * @return The name of the DNS resolver.
     * 
     */
    public Output dnsResolverName() {
        return this.dnsResolverName;
    }

    /**
     * The name of the inbound endpoint for the DNS resolver.
     * 
     */
    @Import(name="inboundEndpointName", required=true)
    private Output inboundEndpointName;

    /**
     * @return The name of the inbound endpoint for the DNS resolver.
     * 
     */
    public Output inboundEndpointName() {
        return this.inboundEndpointName;
    }

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

    private GetInboundEndpointArgs(GetInboundEndpointArgs $) {
        this.dnsResolverName = $.dnsResolverName;
        this.inboundEndpointName = $.inboundEndpointName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetInboundEndpointArgs $;

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

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

        /**
         * @param dnsResolverName The name of the DNS resolver.
         * 
         * @return builder
         * 
         */
        public Builder dnsResolverName(Output dnsResolverName) {
            $.dnsResolverName = dnsResolverName;
            return this;
        }

        /**
         * @param dnsResolverName The name of the DNS resolver.
         * 
         * @return builder
         * 
         */
        public Builder dnsResolverName(String dnsResolverName) {
            return dnsResolverName(Output.of(dnsResolverName));
        }

        /**
         * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
         * 
         * @return builder
         * 
         */
        public Builder inboundEndpointName(Output inboundEndpointName) {
            $.inboundEndpointName = inboundEndpointName;
            return this;
        }

        /**
         * @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
         * 
         * @return builder
         * 
         */
        public Builder inboundEndpointName(String inboundEndpointName) {
            return inboundEndpointName(Output.of(inboundEndpointName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy