// *** 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.gcp.folder.inputs;

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


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

    public static final GetIamPolicyPlainArgs Empty = new GetIamPolicyPlainArgs();

    /**
     * The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
     * 
     */
    @Import(name="folder", required=true)
    private String folder;

    /**
     * @return The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
     * 
     */
    public String folder() {
        return this.folder;
    }

    private GetIamPolicyPlainArgs() {}

    private GetIamPolicyPlainArgs(GetIamPolicyPlainArgs $) {
        this.folder = $.folder;
    }

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

    public static final class Builder {
        private GetIamPolicyPlainArgs $;

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

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

        /**
         * @param folder The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.
         * 
         * @return builder
         * 
         */
        public Builder folder(String folder) {
            $.folder = folder;
            return this;
        }

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

}
