sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/GetKubeCustomizationApiserverAdmissionplugin.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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetKubeCustomizationApiserverAdmissionplugin {
    /**
     * @return Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
     * 
     */
    private List<String> disableds;
    /**
     * @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.
     * 
     */
    private List<String> enableds;

    private GetKubeCustomizationApiserverAdmissionplugin() {}
    /**
     * @return Array of admission plugins disabled, default is [] and only AlwaysPulImages can be disabled at this time.
     * 
     */
    public List<String> disableds() {
        return this.disableds;
    }
    /**
     * @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 List<String> enableds() {
        return this.enableds;
    }

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

    public static Builder builder(GetKubeCustomizationApiserverAdmissionplugin defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> disableds;
        private List<String> enableds;
        public Builder() {}
        public Builder(GetKubeCustomizationApiserverAdmissionplugin defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.disableds = defaults.disableds;
    	      this.enableds = defaults.enableds;
        }

        @CustomType.Setter
        public Builder disableds(List<String> disableds) {
            this.disableds = Objects.requireNonNull(disableds);
            return this;
        }
        public Builder disableds(String... disableds) {
            return disableds(List.of(disableds));
        }
        @CustomType.Setter
        public Builder enableds(List<String> enableds) {
            this.enableds = Objects.requireNonNull(enableds);
            return this;
        }
        public Builder enableds(String... enableds) {
            return enableds(List.of(enableds));
        }
        public GetKubeCustomizationApiserverAdmissionplugin build() {
            final var o = new GetKubeCustomizationApiserverAdmissionplugin();
            o.disableds = disableds;
            o.enableds = enableds;
            return o;
        }
    }
}
