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

import com.pulumi.core.Output;
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 LakeMetastoreArgs extends com.pulumi.resources.ResourceArgs {

    public static final LakeMetastoreArgs Empty = new LakeMetastoreArgs();

    /**
     * Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`
     * 
     */
    @Import(name="service")
    private @Nullable Output<String> service;

    /**
     * @return Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`
     * 
     */
    public Optional<Output<String>> service() {
        return Optional.ofNullable(this.service);
    }

    private LakeMetastoreArgs() {}

    private LakeMetastoreArgs(LakeMetastoreArgs $) {
        this.service = $.service;
    }

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

    public static final class Builder {
        private LakeMetastoreArgs $;

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

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

        /**
         * @param service Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`
         * 
         * @return builder
         * 
         */
        public Builder service(@Nullable Output<String> service) {
            $.service = service;
            return this;
        }

        /**
         * @param service Optional. A relative reference to the Dataproc Metastore (https://cloud.google.com/dataproc-metastore/docs) service associated with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`
         * 
         * @return builder
         * 
         */
        public Builder service(String service) {
            return service(Output.of(service));
        }

        public LakeMetastoreArgs build() {
            return $;
        }
    }

}
