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

com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodePoolTemplate 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.outputs;

import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodePoolTemplateMetadata;
import com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetKubeNodePoolTemplateSpec;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetKubeNodePoolTemplate {
    /**
     * @return metadata
     * 
     */
    private @Nullable GetKubeNodePoolTemplateMetadata metadata;
    /**
     * @return spec
     * 
     */
    private @Nullable GetKubeNodePoolTemplateSpec spec;

    private GetKubeNodePoolTemplate() {}
    /**
     * @return metadata
     * 
     */
    public Optional metadata() {
        return Optional.ofNullable(this.metadata);
    }
    /**
     * @return spec
     * 
     */
    public Optional spec() {
        return Optional.ofNullable(this.spec);
    }

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

    public static Builder builder(GetKubeNodePoolTemplate defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable GetKubeNodePoolTemplateMetadata metadata;
        private @Nullable GetKubeNodePoolTemplateSpec spec;
        public Builder() {}
        public Builder(GetKubeNodePoolTemplate defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.metadata = defaults.metadata;
    	      this.spec = defaults.spec;
        }

        @CustomType.Setter
        public Builder metadata(@Nullable GetKubeNodePoolTemplateMetadata metadata) {

            this.metadata = metadata;
            return this;
        }
        @CustomType.Setter
        public Builder spec(@Nullable GetKubeNodePoolTemplateSpec spec) {

            this.spec = spec;
            return this;
        }
        public GetKubeNodePoolTemplate build() {
            final var _resultValue = new GetKubeNodePoolTemplate();
            _resultValue.metadata = metadata;
            _resultValue.spec = spec;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy