// *** 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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetNodeGroupArgs Empty = new GetNodeGroupArgs();

    /**
     * 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;
    }

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

    /**
     * @return Name of the node group.
     * 
     */
    public Output<String> nodeGroupName() {
        return this.nodeGroupName;
    }

    /**
     * Key-value map of resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output<Map<String,String>> tags;

    /**
     * @return Key-value map of resource tags.
     * 
     */
    public Optional<Output<Map<String,String>>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetNodeGroupArgs() {}

    private GetNodeGroupArgs(GetNodeGroupArgs $) {
        this.clusterName = $.clusterName;
        this.nodeGroupName = $.nodeGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetNodeGroupArgs $;

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

        public Builder(GetNodeGroupArgs defaults) {
            $ = new GetNodeGroupArgs(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));
        }

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

        /**
         * @param nodeGroupName Name of the node group.
         * 
         * @return builder
         * 
         */
        public Builder nodeGroupName(String nodeGroupName) {
            return nodeGroupName(Output.of(nodeGroupName));
        }

        /**
         * @param tags Key-value map of resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output<Map<String,String>> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value map of resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map<String,String> tags) {
            return tags(Output.of(tags));
        }

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

}
