sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeNodePoolTemplateSpec.java
<reponame>lbrlabs/pulumi-ovh// *** 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.ovh.CloudProject.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetKubeNodePoolTemplateSpec Empty = new GetKubeNodePoolTemplateSpec();

    @Import(name="taints")
    private @Nullable List<Map<String,Object>> taints;

    public Optional<List<Map<String,Object>>> taints() {
        return Optional.ofNullable(this.taints);
    }

    @Import(name="unschedulable")
    private @Nullable Boolean unschedulable;

    public Optional<Boolean> unschedulable() {
        return Optional.ofNullable(this.unschedulable);
    }

    private GetKubeNodePoolTemplateSpec() {}

    private GetKubeNodePoolTemplateSpec(GetKubeNodePoolTemplateSpec $) {
        this.taints = $.taints;
        this.unschedulable = $.unschedulable;
    }

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

    public static final class Builder {
        private GetKubeNodePoolTemplateSpec $;

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

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

        public Builder taints(@Nullable List<Map<String,Object>> taints) {
            $.taints = taints;
            return this;
        }

        public Builder taints(Map<String,Object>... taints) {
            return taints(List.of(taints));
        }

        public Builder unschedulable(@Nullable Boolean unschedulable) {
            $.unschedulable = unschedulable;
            return this;
        }

        public GetKubeNodePoolTemplateSpec build() {
            return $;
        }
    }

}
