// *** 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 FargateProfileSelectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final FargateProfileSelectorArgs Empty = new FargateProfileSelectorArgs();

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

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

    /**
     * Kubernetes namespace for selection.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="namespace", required=true)
    private Output<String> namespace;

    /**
     * @return Kubernetes namespace for selection.
     * 
     * The following arguments are optional:
     * 
     */
    public Output<String> namespace() {
        return this.namespace;
    }

    private FargateProfileSelectorArgs() {}

    private FargateProfileSelectorArgs(FargateProfileSelectorArgs $) {
        this.labels = $.labels;
        this.namespace = $.namespace;
    }

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

    public static final class Builder {
        private FargateProfileSelectorArgs $;

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

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

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

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

        /**
         * @param namespace Kubernetes namespace for selection.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder namespace(Output<String> namespace) {
            $.namespace = namespace;
            return this;
        }

        /**
         * @param namespace Kubernetes namespace for selection.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder namespace(String namespace) {
            return namespace(Output.of(namespace));
        }

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

}
