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

com.pulumi.azurenative.authorization.inputs.GetScopeAccessReviewHistoryDefinitionByIdArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetScopeAccessReviewHistoryDefinitionByIdArgs Empty = new GetScopeAccessReviewHistoryDefinitionByIdArgs();

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

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

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

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

    private GetScopeAccessReviewHistoryDefinitionByIdArgs() {}

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

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

    public static final class Builder {
        private GetScopeAccessReviewHistoryDefinitionByIdArgs $;

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

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

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy