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

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

    public static final GetGen2EnvironmentArgs Empty = new GetGen2EnvironmentArgs();

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

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

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

    public static final class Builder {
        private GetGen2EnvironmentArgs $;

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

        public Builder(GetGen2EnvironmentArgs defaults) {
            $ = new GetGen2EnvironmentArgs(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 GetGen2EnvironmentArgs build() {
            if ($.environmentName == null) {
                throw new MissingRequiredPropertyException("GetGen2EnvironmentArgs", "environmentName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetGen2EnvironmentArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy