sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeCustomizationApiserver.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/GetKubeCustomizationApiserver.java<gh_stars>0// *** 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.annotations.Import;
import com.pulumi.ovh.CloudProject.inputs.GetKubeCustomizationApiserverAdmissionplugin;
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<GetKubeCustomizationApiserverAdmissionplugin> admissionplugins;

    /**
     * @return Kubernetes API server admission plugins customization
     * 
     */
    public List<GetKubeCustomizationApiserverAdmissionplugin> 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<GetKubeCustomizationApiserverAdmissionplugin> 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() {
            $.admissionplugins = Objects.requireNonNull($.admissionplugins, "expected parameter 'admissionplugins' to be non-null");
            return $;
        }
    }

}
