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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final GetAttachedVersionsArgs Empty = new GetAttachedVersionsArgs();

    /**
     * The location to list versions for.
     * 
     */
    @Import(name="location", required=true)
    private Output<String> location;

    /**
     * @return The location to list versions for.
     * 
     */
    public Output<String> location() {
        return this.location;
    }

    /**
     * ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
     * Defaults to the project that the provider is authenticated with.
     * 
     */
    @Import(name="project", required=true)
    private Output<String> project;

    /**
     * @return ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
     * Defaults to the project that the provider is authenticated with.
     * 
     */
    public Output<String> project() {
        return this.project;
    }

    private GetAttachedVersionsArgs() {}

    private GetAttachedVersionsArgs(GetAttachedVersionsArgs $) {
        this.location = $.location;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetAttachedVersionsArgs $;

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

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

        /**
         * @param location The location to list versions for.
         * 
         * @return builder
         * 
         */
        public Builder location(Output<String> location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location to list versions for.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param project ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
         * Defaults to the project that the provider is authenticated with.
         * 
         * @return builder
         * 
         */
        public Builder project(Output<String> project) {
            $.project = project;
            return this;
        }

        /**
         * @param project ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
         * Defaults to the project that the provider is authenticated with.
         * 
         * @return builder
         * 
         */
        public Builder project(String project) {
            return project(Output.of(project));
        }

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

}
