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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.ovh.CloudProject.outputs.GetKubeCustomizationApiserverAdmissionplugin;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetKubeCustomizationApiserver {
    /**
     * @return Kubernetes API server admission plugins customization
     * 
     */
    private List<GetKubeCustomizationApiserverAdmissionplugin> admissionplugins;

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

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

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

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