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

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


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

    public static final GetServiceConsumersIamPolicyPlainArgs Empty = new GetServiceConsumersIamPolicyPlainArgs();

    @Import(name="consumerProject", required=true)
    private String consumerProject;

    public String consumerProject() {
        return this.consumerProject;
    }

    @Import(name="serviceName", required=true)
    private String serviceName;

    public String serviceName() {
        return this.serviceName;
    }

    private GetServiceConsumersIamPolicyPlainArgs() {}

    private GetServiceConsumersIamPolicyPlainArgs(GetServiceConsumersIamPolicyPlainArgs $) {
        this.consumerProject = $.consumerProject;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private GetServiceConsumersIamPolicyPlainArgs $;

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

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

        public Builder consumerProject(String consumerProject) {
            $.consumerProject = consumerProject;
            return this;
        }

        public Builder serviceName(String serviceName) {
            $.serviceName = serviceName;
            return this;
        }

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

}
