// *** 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.gcp.gkeonprem.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.gkeonprem.outputs.VMwareClusterValidationCheckStatusResult;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class VMwareClusterValidationCheckStatus {
    /**
     * @return (Output)
     * Individual checks which failed as part of the Preflight check execution.
     * Structure is documented below.
     * 
     */
    private @Nullable List<VMwareClusterValidationCheckStatusResult> results;

    private VMwareClusterValidationCheckStatus() {}
    /**
     * @return (Output)
     * Individual checks which failed as part of the Preflight check execution.
     * Structure is documented below.
     * 
     */
    public List<VMwareClusterValidationCheckStatusResult> results() {
        return this.results == null ? List.of() : this.results;
    }

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

    public static Builder builder(VMwareClusterValidationCheckStatus defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List<VMwareClusterValidationCheckStatusResult> results;
        public Builder() {}
        public Builder(VMwareClusterValidationCheckStatus defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.results = defaults.results;
        }

        @CustomType.Setter
        public Builder results(@Nullable List<VMwareClusterValidationCheckStatusResult> results) {
            this.results = results;
            return this;
        }
        public Builder results(VMwareClusterValidationCheckStatusResult... results) {
            return results(List.of(results));
        }
        public VMwareClusterValidationCheckStatus build() {
            final var o = new VMwareClusterValidationCheckStatus();
            o.results = results;
            return o;
        }
    }
}
