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

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

    public static final GetEnvironmentSettingArgs Empty = new GetEnvironmentSettingArgs();

    /**
     * The name of the environment Setting.
     * 
     */
    @Import(name="environmentSettingName", required=true)
    private Output environmentSettingName;

    /**
     * @return The name of the environment Setting.
     * 
     */
    public Output environmentSettingName() {
        return this.environmentSettingName;
    }

    /**
     * Specify the $expand query. Example: 'properties($select=publishingState)'
     * 
     */
    @Import(name="expand")
    private @Nullable Output expand;

    /**
     * @return Specify the $expand query. Example: 'properties($select=publishingState)'
     * 
     */
    public Optional> expand() {
        return Optional.ofNullable(this.expand);
    }

    /**
     * The name of the lab Account.
     * 
     */
    @Import(name="labAccountName", required=true)
    private Output labAccountName;

    /**
     * @return The name of the lab Account.
     * 
     */
    public Output labAccountName() {
        return this.labAccountName;
    }

    /**
     * The name of the lab.
     * 
     */
    @Import(name="labName", required=true)
    private Output labName;

    /**
     * @return The name of the lab.
     * 
     */
    public Output labName() {
        return this.labName;
    }

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

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetEnvironmentSettingArgs() {}

    private GetEnvironmentSettingArgs(GetEnvironmentSettingArgs $) {
        this.environmentSettingName = $.environmentSettingName;
        this.expand = $.expand;
        this.labAccountName = $.labAccountName;
        this.labName = $.labName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetEnvironmentSettingArgs $;

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

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

        /**
         * @param environmentSettingName The name of the environment Setting.
         * 
         * @return builder
         * 
         */
        public Builder environmentSettingName(Output environmentSettingName) {
            $.environmentSettingName = environmentSettingName;
            return this;
        }

        /**
         * @param environmentSettingName The name of the environment Setting.
         * 
         * @return builder
         * 
         */
        public Builder environmentSettingName(String environmentSettingName) {
            return environmentSettingName(Output.of(environmentSettingName));
        }

        /**
         * @param expand Specify the $expand query. Example: 'properties($select=publishingState)'
         * 
         * @return builder
         * 
         */
        public Builder expand(@Nullable Output expand) {
            $.expand = expand;
            return this;
        }

        /**
         * @param expand Specify the $expand query. Example: 'properties($select=publishingState)'
         * 
         * @return builder
         * 
         */
        public Builder expand(String expand) {
            return expand(Output.of(expand));
        }

        /**
         * @param labAccountName The name of the lab Account.
         * 
         * @return builder
         * 
         */
        public Builder labAccountName(Output labAccountName) {
            $.labAccountName = labAccountName;
            return this;
        }

        /**
         * @param labAccountName The name of the lab Account.
         * 
         * @return builder
         * 
         */
        public Builder labAccountName(String labAccountName) {
            return labAccountName(Output.of(labAccountName));
        }

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

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

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

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetEnvironmentSettingArgs build() {
            if ($.environmentSettingName == null) {
                throw new MissingRequiredPropertyException("GetEnvironmentSettingArgs", "environmentSettingName");
            }
            if ($.labAccountName == null) {
                throw new MissingRequiredPropertyException("GetEnvironmentSettingArgs", "labAccountName");
            }
            if ($.labName == null) {
                throw new MissingRequiredPropertyException("GetEnvironmentSettingArgs", "labName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetEnvironmentSettingArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy