sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/KubeCustomizationApiserverAdmissionpluginArgs.java
<reponame>lbrlabs/pulumi-ovh// *** 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 java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final KubeCustomizationApiserverAdmissionpluginArgs Empty = new KubeCustomizationApiserverAdmissionpluginArgs();

    /**
     * Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
     * 
     */
    @Import(name="disableds")
    private @Nullable Output<List<String>> disableds;

    /**
     * @return Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
     * 
     */
    public Optional<Output<List<String>>> disableds() {
        return Optional.ofNullable(this.disableds);
    }

    /**
     * Array of admission plugins enabled, default is [&#34;NodeRestriction&#34;,&#34;AlwaysPulImages&#34;] and only these admission plugins can be enabled at this time.
     * 
     */
    @Import(name="enableds")
    private @Nullable Output<List<String>> enableds;

    /**
     * @return Array of admission plugins enabled, default is [&#34;NodeRestriction&#34;,&#34;AlwaysPulImages&#34;] and only these admission plugins can be enabled at this time.
     * 
     */
    public Optional<Output<List<String>>> enableds() {
        return Optional.ofNullable(this.enableds);
    }

    private KubeCustomizationApiserverAdmissionpluginArgs() {}

    private KubeCustomizationApiserverAdmissionpluginArgs(KubeCustomizationApiserverAdmissionpluginArgs $) {
        this.disableds = $.disableds;
        this.enableds = $.enableds;
    }

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

    public static final class Builder {
        private KubeCustomizationApiserverAdmissionpluginArgs $;

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

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

        /**
         * @param disableds Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder disableds(@Nullable Output<List<String>> disableds) {
            $.disableds = disableds;
            return this;
        }

        /**
         * @param disableds Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder disableds(List<String> disableds) {
            return disableds(Output.of(disableds));
        }

        /**
         * @param disableds Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder disableds(String... disableds) {
            return disableds(List.of(disableds));
        }

        /**
         * @param enableds Array of admission plugins enabled, default is [&#34;NodeRestriction&#34;,&#34;AlwaysPulImages&#34;] and only these admission plugins can be enabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder enableds(@Nullable Output<List<String>> enableds) {
            $.enableds = enableds;
            return this;
        }

        /**
         * @param enableds Array of admission plugins enabled, default is [&#34;NodeRestriction&#34;,&#34;AlwaysPulImages&#34;] and only these admission plugins can be enabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder enableds(List<String> enableds) {
            return enableds(Output.of(enableds));
        }

        /**
         * @param enableds Array of admission plugins enabled, default is [&#34;NodeRestriction&#34;,&#34;AlwaysPulImages&#34;] and only these admission plugins can be enabled at this time.
         * 
         * @return builder
         * 
         */
        public Builder enableds(String... enableds) {
            return enableds(List.of(enableds));
        }

        public KubeCustomizationApiserverAdmissionpluginArgs build() {
            return $;
        }
    }

}
