// *** 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 com.pulumi.gcp.container.inputs.NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs;
import java.util.List;
import java.util.Objects;


public final class NodePoolNodeConfigSoleTenantConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final NodePoolNodeConfigSoleTenantConfigArgs Empty = new NodePoolNodeConfigSoleTenantConfigArgs();

    @Import(name="nodeAffinities", required=true)
    private Output<List<NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs>> nodeAffinities;

    public Output<List<NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs>> nodeAffinities() {
        return this.nodeAffinities;
    }

    private NodePoolNodeConfigSoleTenantConfigArgs() {}

    private NodePoolNodeConfigSoleTenantConfigArgs(NodePoolNodeConfigSoleTenantConfigArgs $) {
        this.nodeAffinities = $.nodeAffinities;
    }

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

    public static final class Builder {
        private NodePoolNodeConfigSoleTenantConfigArgs $;

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

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

        public Builder nodeAffinities(Output<List<NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs>> nodeAffinities) {
            $.nodeAffinities = nodeAffinities;
            return this;
        }

        public Builder nodeAffinities(List<NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs> nodeAffinities) {
            return nodeAffinities(Output.of(nodeAffinities));
        }

        public Builder nodeAffinities(NodePoolNodeConfigSoleTenantConfigNodeAffinityArgs... nodeAffinities) {
            return nodeAffinities(List.of(nodeAffinities));
        }

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

}
