All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeNodePoolTemplateMetadata Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
// *** 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.ovhcloud.pulumi.ovh.CloudProject.inputs;

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 GetKubeNodePoolTemplateMetadata extends com.pulumi.resources.InvokeArgs {

    public static final GetKubeNodePoolTemplateMetadata Empty = new GetKubeNodePoolTemplateMetadata();

    /**
     * annotations
     * 
     */
    @Import(name="annotations")
    private @Nullable Map annotations;

    /**
     * @return annotations
     * 
     */
    public Optional> annotations() {
        return Optional.ofNullable(this.annotations);
    }

    /**
     * finalizers
     * 
     */
    @Import(name="finalizers")
    private @Nullable List finalizers;

    /**
     * @return finalizers
     * 
     */
    public Optional> finalizers() {
        return Optional.ofNullable(this.finalizers);
    }

    /**
     * labels
     * 
     */
    @Import(name="labels")
    private @Nullable Map labels;

    /**
     * @return labels
     * 
     */
    public Optional> labels() {
        return Optional.ofNullable(this.labels);
    }

    private GetKubeNodePoolTemplateMetadata() {}

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

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

    public static final class Builder {
        private GetKubeNodePoolTemplateMetadata $;

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

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

        /**
         * @param annotations annotations
         * 
         * @return builder
         * 
         */
        public Builder annotations(@Nullable Map annotations) {
            $.annotations = annotations;
            return this;
        }

        /**
         * @param finalizers finalizers
         * 
         * @return builder
         * 
         */
        public Builder finalizers(@Nullable List finalizers) {
            $.finalizers = finalizers;
            return this;
        }

        /**
         * @param finalizers finalizers
         * 
         * @return builder
         * 
         */
        public Builder finalizers(String... finalizers) {
            return finalizers(List.of(finalizers));
        }

        /**
         * @param labels labels
         * 
         * @return builder
         * 
         */
        public Builder labels(@Nullable Map labels) {
            $.labels = labels;
            return this;
        }

        public GetKubeNodePoolTemplateMetadata build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy