sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeNodePoolTemplateMetadataArgs.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeNodePoolTemplateMetadataArgs.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.Output;
import com.pulumi.core.annotations.Import;
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 GetKubeNodePoolTemplateMetadataArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetKubeNodePoolTemplateMetadataArgs Empty = new GetKubeNodePoolTemplateMetadataArgs();

    @Import(name="annotations")
    private @Nullable Output<Map<String,String>> annotations;

    public Optional<Output<Map<String,String>>> annotations() {
        return Optional.ofNullable(this.annotations);
    }

    @Import(name="finalizers")
    private @Nullable Output<List<String>> finalizers;

    public Optional<Output<List<String>>> finalizers() {
        return Optional.ofNullable(this.finalizers);
    }

    @Import(name="labels")
    private @Nullable Output<Map<String,String>> labels;

    public Optional<Output<Map<String,String>>> labels() {
        return Optional.ofNullable(this.labels);
    }

    private GetKubeNodePoolTemplateMetadataArgs() {}

    private GetKubeNodePoolTemplateMetadataArgs(GetKubeNodePoolTemplateMetadataArgs $) {
        this.annotations = $.annotations;
        this.finalizers = $.finalizers;
        this.labels = $.labels;
    }

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

    public static final class Builder {
        private GetKubeNodePoolTemplateMetadataArgs $;

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

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

        public Builder annotations(@Nullable Output<Map<String,String>> annotations) {
            $.annotations = annotations;
            return this;
        }

        public Builder annotations(Map<String,String> annotations) {
            return annotations(Output.of(annotations));
        }

        public Builder finalizers(@Nullable Output<List<String>> finalizers) {
            $.finalizers = finalizers;
            return this;
        }

        public Builder finalizers(List<String> finalizers) {
            return finalizers(Output.of(finalizers));
        }

        public Builder finalizers(String... finalizers) {
            return finalizers(List.of(finalizers));
        }

        public Builder labels(@Nullable Output<Map<String,String>> labels) {
            $.labels = labels;
            return this;
        }

        public Builder labels(Map<String,String> labels) {
            return labels(Output.of(labels));
        }

        public GetKubeNodePoolTemplateMetadataArgs build() {
            return $;
        }
    }

}
