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

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

    public static final GetDeploymentStackAtManagementGroupArgs Empty = new GetDeploymentStackAtManagementGroupArgs();

    /**
     * Name of the deployment stack.
     * 
     */
    @Import(name="deploymentStackName", required=true)
    private Output deploymentStackName;

    /**
     * @return Name of the deployment stack.
     * 
     */
    public Output deploymentStackName() {
        return this.deploymentStackName;
    }

    /**
     * Management Group.
     * 
     */
    @Import(name="managementGroupId", required=true)
    private Output managementGroupId;

    /**
     * @return Management Group.
     * 
     */
    public Output managementGroupId() {
        return this.managementGroupId;
    }

    private GetDeploymentStackAtManagementGroupArgs() {}

    private GetDeploymentStackAtManagementGroupArgs(GetDeploymentStackAtManagementGroupArgs $) {
        this.deploymentStackName = $.deploymentStackName;
        this.managementGroupId = $.managementGroupId;
    }

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

    public static final class Builder {
        private GetDeploymentStackAtManagementGroupArgs $;

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

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

        /**
         * @param deploymentStackName Name of the deployment stack.
         * 
         * @return builder
         * 
         */
        public Builder deploymentStackName(Output deploymentStackName) {
            $.deploymentStackName = deploymentStackName;
            return this;
        }

        /**
         * @param deploymentStackName Name of the deployment stack.
         * 
         * @return builder
         * 
         */
        public Builder deploymentStackName(String deploymentStackName) {
            return deploymentStackName(Output.of(deploymentStackName));
        }

        /**
         * @param managementGroupId Management Group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(Output managementGroupId) {
            $.managementGroupId = managementGroupId;
            return this;
        }

        /**
         * @param managementGroupId Management Group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(String managementGroupId) {
            return managementGroupId(Output.of(managementGroupId));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy