sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/KubeCustomizationApiserverArgs.java
// *** 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.ovh.CloudProject.inputs.KubeCustomizationApiserverAdmissionpluginArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class KubeCustomizationApiserverArgs extends com.pulumi.resources.ResourceArgs {

    public static final KubeCustomizationApiserverArgs Empty = new KubeCustomizationApiserverArgs();

    /**
     * Kubernetes API server admission plugins customization
     * 
     */
    @Import(name="admissionplugins")
    private @Nullable Output<List<KubeCustomizationApiserverAdmissionpluginArgs>> admissionplugins;

    /**
     * @return Kubernetes API server admission plugins customization
     * 
     */
    public Optional<Output<List<KubeCustomizationApiserverAdmissionpluginArgs>>> admissionplugins() {
        return Optional.ofNullable(this.admissionplugins);
    }

    private KubeCustomizationApiserverArgs() {}

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

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

    public static final class Builder {
        private KubeCustomizationApiserverArgs $;

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

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

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

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

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

        public KubeCustomizationApiserverArgs build() {
            return $;
        }
    }

}
