// *** 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.azure.policy.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


public final class GetPolicyAssignmentPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPolicyAssignmentPlainArgs Empty = new GetPolicyAssignmentPlainArgs();

    /**
     * The name of this Policy Assignment. Changing this forces a new Policy Assignment to be created.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of this Policy Assignment. Changing this forces a new Policy Assignment to be created.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * The ID of the scope this Policy Assignment is assigned to. The `scope_id` can be a subscription id, a resource group id, a management group id, or an ID of any resource that is assigned with a policy. Changing this forces a new Policy Assignment to be created.
     * 
     */
    @Import(name="scopeId", required=true)
    private String scopeId;

    /**
     * @return The ID of the scope this Policy Assignment is assigned to. The `scope_id` can be a subscription id, a resource group id, a management group id, or an ID of any resource that is assigned with a policy. Changing this forces a new Policy Assignment to be created.
     * 
     */
    public String scopeId() {
        return this.scopeId;
    }

    private GetPolicyAssignmentPlainArgs() {}

    private GetPolicyAssignmentPlainArgs(GetPolicyAssignmentPlainArgs $) {
        this.name = $.name;
        this.scopeId = $.scopeId;
    }

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

    public static final class Builder {
        private GetPolicyAssignmentPlainArgs $;

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

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

        /**
         * @param name The name of this Policy Assignment. Changing this forces a new Policy Assignment to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param scopeId The ID of the scope this Policy Assignment is assigned to. The `scope_id` can be a subscription id, a resource group id, a management group id, or an ID of any resource that is assigned with a policy. Changing this forces a new Policy Assignment to be created.
         * 
         * @return builder
         * 
         */
        public Builder scopeId(String scopeId) {
            $.scopeId = scopeId;
            return this;
        }

        public GetPolicyAssignmentPlainArgs build() {
            $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null");
            $.scopeId = Objects.requireNonNull($.scopeId, "expected parameter 'scopeId' to be non-null");
            return $;
        }
    }

}
