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

com.pulumi.azurenative.authorization.inputs.GetVariableAtManagementGroupArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.authorization.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 GetVariableAtManagementGroupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetVariableAtManagementGroupArgs Empty = new GetVariableAtManagementGroupArgs();

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

    /**
     * @return The ID of the management group.
     * 
     */
    public Output managementGroupId() {
        return this.managementGroupId;
    }

    /**
     * The name of the variable to operate on.
     * 
     */
    @Import(name="variableName", required=true)
    private Output variableName;

    /**
     * @return The name of the variable to operate on.
     * 
     */
    public Output variableName() {
        return this.variableName;
    }

    private GetVariableAtManagementGroupArgs() {}

    private GetVariableAtManagementGroupArgs(GetVariableAtManagementGroupArgs $) {
        this.managementGroupId = $.managementGroupId;
        this.variableName = $.variableName;
    }

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

    public static final class Builder {
        private GetVariableAtManagementGroupArgs $;

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

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

        /**
         * @param managementGroupId The ID of the management group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(Output managementGroupId) {
            $.managementGroupId = managementGroupId;
            return this;
        }

        /**
         * @param managementGroupId The ID of the management group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(String managementGroupId) {
            return managementGroupId(Output.of(managementGroupId));
        }

        /**
         * @param variableName The name of the variable to operate on.
         * 
         * @return builder
         * 
         */
        public Builder variableName(Output variableName) {
            $.variableName = variableName;
            return this;
        }

        /**
         * @param variableName The name of the variable to operate on.
         * 
         * @return builder
         * 
         */
        public Builder variableName(String variableName) {
            return variableName(Output.of(variableName));
        }

        public GetVariableAtManagementGroupArgs build() {
            if ($.managementGroupId == null) {
                throw new MissingRequiredPropertyException("GetVariableAtManagementGroupArgs", "managementGroupId");
            }
            if ($.variableName == null) {
                throw new MissingRequiredPropertyException("GetVariableAtManagementGroupArgs", "variableName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy