// *** 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.aws.workspaces.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 GetBundleArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBundleArgs Empty = new GetBundleArgs();

    /**
     * ID of the bundle.
     * 
     */
    @Import(name="bundleId")
    private @Nullable Output<String> bundleId;

    /**
     * @return ID of the bundle.
     * 
     */
    public Optional<Output<String>> bundleId() {
        return Optional.ofNullable(this.bundleId);
    }

    /**
     * Name of the bundle. You cannot combine this parameter with `bundle_id`.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return Name of the bundle. You cannot combine this parameter with `bundle_id`.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundle_id`.
     * 
     */
    @Import(name="owner")
    private @Nullable Output<String> owner;

    /**
     * @return Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundle_id`.
     * 
     */
    public Optional<Output<String>> owner() {
        return Optional.ofNullable(this.owner);
    }

    private GetBundleArgs() {}

    private GetBundleArgs(GetBundleArgs $) {
        this.bundleId = $.bundleId;
        this.name = $.name;
        this.owner = $.owner;
    }

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

    public static final class Builder {
        private GetBundleArgs $;

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

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

        /**
         * @param bundleId ID of the bundle.
         * 
         * @return builder
         * 
         */
        public Builder bundleId(@Nullable Output<String> bundleId) {
            $.bundleId = bundleId;
            return this;
        }

        /**
         * @param bundleId ID of the bundle.
         * 
         * @return builder
         * 
         */
        public Builder bundleId(String bundleId) {
            return bundleId(Output.of(bundleId));
        }

        /**
         * @param name Name of the bundle. You cannot combine this parameter with `bundle_id`.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the bundle. You cannot combine this parameter with `bundle_id`.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param owner Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundle_id`.
         * 
         * @return builder
         * 
         */
        public Builder owner(@Nullable Output<String> owner) {
            $.owner = owner;
            return this;
        }

        /**
         * @param owner Owner of the bundles. You have to leave it blank for own bundles. You cannot combine this parameter with `bundle_id`.
         * 
         * @return builder
         * 
         */
        public Builder owner(String owner) {
            return owner(Output.of(owner));
        }

        public GetBundleArgs build() {
            return $;
        }
    }

}
