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

com.pulumi.azurenative.authorization.VariableAtManagementGroupArgs 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.authorization;

import com.pulumi.azurenative.authorization.inputs.PolicyVariableColumnArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VariableAtManagementGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final VariableAtManagementGroupArgs Empty = new VariableAtManagementGroupArgs();

    /**
     * Variable column definitions.
     * 
     */
    @Import(name="columns", required=true)
    private Output> columns;

    /**
     * @return Variable column definitions.
     * 
     */
    public Output> columns() {
        return this.columns;
    }

    /**
     * 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")
    private @Nullable Output variableName;

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

    private VariableAtManagementGroupArgs() {}

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

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

    public static final class Builder {
        private VariableAtManagementGroupArgs $;

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

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

        /**
         * @param columns Variable column definitions.
         * 
         * @return builder
         * 
         */
        public Builder columns(Output> columns) {
            $.columns = columns;
            return this;
        }

        /**
         * @param columns Variable column definitions.
         * 
         * @return builder
         * 
         */
        public Builder columns(List columns) {
            return columns(Output.of(columns));
        }

        /**
         * @param columns Variable column definitions.
         * 
         * @return builder
         * 
         */
        public Builder columns(PolicyVariableColumnArgs... columns) {
            return columns(List.of(columns));
        }

        /**
         * @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(@Nullable 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 VariableAtManagementGroupArgs build() {
            if ($.columns == null) {
                throw new MissingRequiredPropertyException("VariableAtManagementGroupArgs", "columns");
            }
            if ($.managementGroupId == null) {
                throw new MissingRequiredPropertyException("VariableAtManagementGroupArgs", "managementGroupId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy