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

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

// *** 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.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetScopeAccessReviewHistoryDefinitionByIdPlainArgs Empty = new GetScopeAccessReviewHistoryDefinitionByIdPlainArgs();

    /**
     * The id of the access review history definition.
     * 
     */
    @Import(name="historyDefinitionId", required=true)
    private String historyDefinitionId;

    /**
     * @return The id of the access review history definition.
     * 
     */
    public String historyDefinitionId() {
        return this.historyDefinitionId;
    }

    /**
     * The scope of the resource.
     * 
     */
    @Import(name="scope", required=true)
    private String scope;

    /**
     * @return The scope of the resource.
     * 
     */
    public String scope() {
        return this.scope;
    }

    private GetScopeAccessReviewHistoryDefinitionByIdPlainArgs() {}

    private GetScopeAccessReviewHistoryDefinitionByIdPlainArgs(GetScopeAccessReviewHistoryDefinitionByIdPlainArgs $) {
        this.historyDefinitionId = $.historyDefinitionId;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetScopeAccessReviewHistoryDefinitionByIdPlainArgs $;

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

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

        /**
         * @param historyDefinitionId The id of the access review history definition.
         * 
         * @return builder
         * 
         */
        public Builder historyDefinitionId(String historyDefinitionId) {
            $.historyDefinitionId = historyDefinitionId;
            return this;
        }

        /**
         * @param scope The scope of the resource.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            $.scope = scope;
            return this;
        }

        public GetScopeAccessReviewHistoryDefinitionByIdPlainArgs build() {
            if ($.historyDefinitionId == null) {
                throw new MissingRequiredPropertyException("GetScopeAccessReviewHistoryDefinitionByIdPlainArgs", "historyDefinitionId");
            }
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetScopeAccessReviewHistoryDefinitionByIdPlainArgs", "scope");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy