sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeNodePoolTemplate.java
// *** 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 com.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolTemplateMetadata;
import com.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolTemplateSpec;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetKubeNodePoolTemplate Empty = new GetKubeNodePoolTemplate();

    @Import(name="metadata")
    private @Nullable GetKubeNodePoolTemplateMetadata metadata;

    public Optional<GetKubeNodePoolTemplateMetadata> metadata() {
        return Optional.ofNullable(this.metadata);
    }

    @Import(name="spec")
    private @Nullable GetKubeNodePoolTemplateSpec spec;

    public Optional<GetKubeNodePoolTemplateSpec> spec() {
        return Optional.ofNullable(this.spec);
    }

    private GetKubeNodePoolTemplate() {}

    private GetKubeNodePoolTemplate(GetKubeNodePoolTemplate $) {
        this.metadata = $.metadata;
        this.spec = $.spec;
    }

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

    public static final class Builder {
        private GetKubeNodePoolTemplate $;

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

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

        public Builder metadata(@Nullable GetKubeNodePoolTemplateMetadata metadata) {
            $.metadata = metadata;
            return this;
        }

        public Builder spec(@Nullable GetKubeNodePoolTemplateSpec spec) {
            $.spec = spec;
            return this;
        }

        public GetKubeNodePoolTemplate build() {
            return $;
        }
    }

}
