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

com.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeCustomizationApiserver 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.ovhcloud.pulumi.ovh.CloudProject.inputs.GetKubeCustomizationApiserverAdmissionplugin;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;


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

    public static final GetKubeCustomizationApiserver Empty = new GetKubeCustomizationApiserver();

    /**
     * Kubernetes API server admission plugins customization
     * 
     */
    @Import(name="admissionplugins", required=true)
    private List admissionplugins;

    /**
     * @return Kubernetes API server admission plugins customization
     * 
     */
    public List admissionplugins() {
        return this.admissionplugins;
    }

    private GetKubeCustomizationApiserver() {}

    private GetKubeCustomizationApiserver(GetKubeCustomizationApiserver $) {
        this.admissionplugins = $.admissionplugins;
    }

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

    public static final class Builder {
        private GetKubeCustomizationApiserver $;

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

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

        /**
         * @param admissionplugins Kubernetes API server admission plugins customization
         * 
         * @return builder
         * 
         */
        public Builder admissionplugins(List admissionplugins) {
            $.admissionplugins = admissionplugins;
            return this;
        }

        /**
         * @param admissionplugins Kubernetes API server admission plugins customization
         * 
         * @return builder
         * 
         */
        public Builder admissionplugins(GetKubeCustomizationApiserverAdmissionplugin... admissionplugins) {
            return admissionplugins(List.of(admissionplugins));
        }

        public GetKubeCustomizationApiserver build() {
            if ($.admissionplugins == null) {
                throw new MissingRequiredPropertyException("GetKubeCustomizationApiserver", "admissionplugins");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy