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

com.ovhcloud.pulumi.ovh.CloudProject.outputs.KubeCustomization 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.KubeCustomizationApiserver;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class KubeCustomization {
    /**
     * @return Kubernetes API server customization
     * 
     * @deprecated
     * Use customization_apiserver instead
     * 
     */
    @Deprecated /* Use customization_apiserver instead */
    private @Nullable List apiservers;

    private KubeCustomization() {}
    /**
     * @return Kubernetes API server customization
     * 
     * @deprecated
     * Use customization_apiserver instead
     * 
     */
    @Deprecated /* Use customization_apiserver instead */
    public List apiservers() {
        return this.apiservers == null ? List.of() : this.apiservers;
    }

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

    public static Builder builder(KubeCustomization defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List apiservers;
        public Builder() {}
        public Builder(KubeCustomization defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiservers = defaults.apiservers;
        }

        @CustomType.Setter
        public Builder apiservers(@Nullable List apiservers) {

            this.apiservers = apiservers;
            return this;
        }
        public Builder apiservers(KubeCustomizationApiserver... apiservers) {
            return apiservers(List.of(apiservers));
        }
        public KubeCustomization build() {
            final var _resultValue = new KubeCustomization();
            _resultValue.apiservers = apiservers;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy