// *** 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.storage.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 GetBucketObjectPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBucketObjectPlainArgs Empty = new GetBucketObjectPlainArgs();

    /**
     * The name of the containing bucket.
     * 
     */
    @Import(name="bucket")
    private @Nullable String bucket;

    /**
     * @return The name of the containing bucket.
     * 
     */
    public Optional<String> bucket() {
        return Optional.ofNullable(this.bucket);
    }

    /**
     * The name of the object.
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return The name of the object.
     * 
     */
    public Optional<String> name() {
        return Optional.ofNullable(this.name);
    }

    private GetBucketObjectPlainArgs() {}

    private GetBucketObjectPlainArgs(GetBucketObjectPlainArgs $) {
        this.bucket = $.bucket;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetBucketObjectPlainArgs $;

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

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

        /**
         * @param bucket The name of the containing bucket.
         * 
         * @return builder
         * 
         */
        public Builder bucket(@Nullable String bucket) {
            $.bucket = bucket;
            return this;
        }

        /**
         * @param name The name of the object.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable String name) {
            $.name = name;
            return this;
        }

        public GetBucketObjectPlainArgs build() {
            return $;
        }
    }

}
