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

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


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

    public static final GetNodeGroupsArgs Empty = new GetNodeGroupsArgs();

    /**
     * Name of the cluster.
     * 
     */
    @Import(name="clusterName", required=true)
    private Output<String> clusterName;

    /**
     * @return Name of the cluster.
     * 
     */
    public Output<String> clusterName() {
        return this.clusterName;
    }

    private GetNodeGroupsArgs() {}

    private GetNodeGroupsArgs(GetNodeGroupsArgs $) {
        this.clusterName = $.clusterName;
    }

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

    public static final class Builder {
        private GetNodeGroupsArgs $;

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

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

        /**
         * @param clusterName Name of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(Output<String> clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param clusterName Name of the cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

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

}
