// *** 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.firebase.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 StorageBucketState extends com.pulumi.resources.ResourceArgs {

    public static final StorageBucketState Empty = new StorageBucketState();

    /**
     * Required. Immutable. The ID of the underlying Google Cloud Storage bucket
     * 
     */
    @Import(name="bucketId")
    private @Nullable Output<String> bucketId;

    /**
     * @return Required. Immutable. The ID of the underlying Google Cloud Storage bucket
     * 
     */
    public Optional<Output<String>> bucketId() {
        return Optional.ofNullable(this.bucketId);
    }

    /**
     * Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

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

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

    private StorageBucketState() {}

    private StorageBucketState(StorageBucketState $) {
        this.bucketId = $.bucketId;
        this.name = $.name;
        this.project = $.project;
    }

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

    public static final class Builder {
        private StorageBucketState $;

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

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

        /**
         * @param bucketId Required. Immutable. The ID of the underlying Google Cloud Storage bucket
         * 
         * @return builder
         * 
         */
        public Builder bucketId(@Nullable Output<String> bucketId) {
            $.bucketId = bucketId;
            return this;
        }

        /**
         * @param bucketId Required. Immutable. The ID of the underlying Google Cloud Storage bucket
         * 
         * @return builder
         * 
         */
        public Builder bucketId(String bucketId) {
            return bucketId(Output.of(bucketId));
        }

        /**
         * @param name Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Resource name of the bucket in the format projects/PROJECT_IDENTIFIER/buckets/BUCKET_ID
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

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

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

        public StorageBucketState build() {
            return $;
        }
    }

}
