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

com.pulumi.azurenative.blueprint.inputs.GetAssignmentArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.blueprint.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 GetAssignmentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAssignmentArgs Empty = new GetAssignmentArgs();

    /**
     * Name of the blueprint assignment.
     * 
     */
    @Import(name="assignmentName", required=true)
    private Output assignmentName;

    /**
     * @return Name of the blueprint assignment.
     * 
     */
    public Output assignmentName() {
        return this.assignmentName;
    }

    /**
     * The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    @Import(name="resourceScope", required=true)
    private Output resourceScope;

    /**
     * @return The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
     * 
     */
    public Output resourceScope() {
        return this.resourceScope;
    }

    private GetAssignmentArgs() {}

    private GetAssignmentArgs(GetAssignmentArgs $) {
        this.assignmentName = $.assignmentName;
        this.resourceScope = $.resourceScope;
    }

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

    public static final class Builder {
        private GetAssignmentArgs $;

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

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

        /**
         * @param assignmentName Name of the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder assignmentName(Output assignmentName) {
            $.assignmentName = assignmentName;
            return this;
        }

        /**
         * @param assignmentName Name of the blueprint assignment.
         * 
         * @return builder
         * 
         */
        public Builder assignmentName(String assignmentName) {
            return assignmentName(Output.of(assignmentName));
        }

        /**
         * @param resourceScope The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
         * 
         * @return builder
         * 
         */
        public Builder resourceScope(Output resourceScope) {
            $.resourceScope = resourceScope;
            return this;
        }

        /**
         * @param resourceScope The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').
         * 
         * @return builder
         * 
         */
        public Builder resourceScope(String resourceScope) {
            return resourceScope(Output.of(resourceScope));
        }

        public GetAssignmentArgs build() {
            if ($.assignmentName == null) {
                throw new MissingRequiredPropertyException("GetAssignmentArgs", "assignmentName");
            }
            if ($.resourceScope == null) {
                throw new MissingRequiredPropertyException("GetAssignmentArgs", "resourceScope");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy