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

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetProjectServicePlainArgs Empty = new GetProjectServicePlainArgs();

    /**
     * The project in which the resource belongs. If it
     * is not provided, the provider project is used.
     * 
     */
    @Import(name="project")
    private @Nullable String project;

    /**
     * @return The project in which the resource belongs. If it
     * is not provided, the provider project is used.
     * 
     */
    public Optional<String> project() {
        return Optional.ofNullable(this.project);
    }

    /**
     * The name of the Google Platform project service.
     * 
     * ***
     * 
     */
    @Import(name="service", required=true)
    private String service;

    /**
     * @return The name of the Google Platform project service.
     * 
     * ***
     * 
     */
    public String service() {
        return this.service;
    }

    private GetProjectServicePlainArgs() {}

    private GetProjectServicePlainArgs(GetProjectServicePlainArgs $) {
        this.project = $.project;
        this.service = $.service;
    }

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

    public static final class Builder {
        private GetProjectServicePlainArgs $;

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

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

        /**
         * @param project The project in which the resource belongs. If it
         * is not provided, the provider project is used.
         * 
         * @return builder
         * 
         */
        public Builder project(@Nullable String project) {
            $.project = project;
            return this;
        }

        /**
         * @param service The name of the Google Platform project service.
         * 
         * ***
         * 
         * @return builder
         * 
         */
        public Builder service(String service) {
            $.service = service;
            return this;
        }

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

}
