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

com.pulumi.azurenative.timeseriesinsights.inputs.GetGen1EnvironmentArgs 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.timeseriesinsights.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetGen1EnvironmentArgs Empty = new GetGen1EnvironmentArgs();

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

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

    /**
     * Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.
     * 
     */
    @Import(name="expand")
    private @Nullable Output expand;

    /**
     * @return Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.
     * 
     */
    public Optional> expand() {
        return Optional.ofNullable(this.expand);
    }

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

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

    private GetGen1EnvironmentArgs() {}

    private GetGen1EnvironmentArgs(GetGen1EnvironmentArgs $) {
        this.environmentName = $.environmentName;
        this.expand = $.expand;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetGen1EnvironmentArgs $;

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

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

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

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

        /**
         * @param expand Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.
         * 
         * @return builder
         * 
         */
        public Builder expand(@Nullable Output expand) {
            $.expand = expand;
            return this;
        }

        /**
         * @param expand Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.
         * 
         * @return builder
         * 
         */
        public Builder expand(String expand) {
            return expand(Output.of(expand));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy