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

com.pulumi.azurenative.timeseriesinsights.inputs.GetIoTHubEventSourcePlainArgs Maven / Gradle / Ivy

// *** 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.timeseriesinsights.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetIoTHubEventSourcePlainArgs Empty = new GetIoTHubEventSourcePlainArgs();

    /**
     * The name of the Time Series Insights environment associated with the specified resource group.
     * 
     */
    @Import(name="environmentName", required=true)
    private String environmentName;

    /**
     * @return The name of the Time Series Insights environment associated with the specified resource group.
     * 
     */
    public String environmentName() {
        return this.environmentName;
    }

    /**
     * The name of the Time Series Insights event source associated with the specified environment.
     * 
     */
    @Import(name="eventSourceName", required=true)
    private String eventSourceName;

    /**
     * @return The name of the Time Series Insights event source associated with the specified environment.
     * 
     */
    public String eventSourceName() {
        return this.eventSourceName;
    }

    /**
     * Name of an Azure Resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Name of an Azure Resource group.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetIoTHubEventSourcePlainArgs() {}

    private GetIoTHubEventSourcePlainArgs(GetIoTHubEventSourcePlainArgs $) {
        this.environmentName = $.environmentName;
        this.eventSourceName = $.eventSourceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetIoTHubEventSourcePlainArgs $;

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

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

        /**
         * @param environmentName The name of the Time Series Insights environment associated with the specified resource group.
         * 
         * @return builder
         * 
         */
        public Builder environmentName(String environmentName) {
            $.environmentName = environmentName;
            return this;
        }

        /**
         * @param eventSourceName The name of the Time Series Insights event source associated with the specified environment.
         * 
         * @return builder
         * 
         */
        public Builder eventSourceName(String eventSourceName) {
            $.eventSourceName = eventSourceName;
            return this;
        }

        /**
         * @param resourceGroupName Name of an Azure Resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetIoTHubEventSourcePlainArgs build() {
            if ($.environmentName == null) {
                throw new MissingRequiredPropertyException("GetIoTHubEventSourcePlainArgs", "environmentName");
            }
            if ($.eventSourceName == null) {
                throw new MissingRequiredPropertyException("GetIoTHubEventSourcePlainArgs", "eventSourceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetIoTHubEventSourcePlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy