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

import com.pulumi.core.annotations.CustomType;
import com.pulumi.gcp.dns.outputs.RecordSetRoutingPolicyGeoHealthCheckedTargetsInternalLoadBalancer;
import java.util.List;
import java.util.Objects;

@CustomType
public final class RecordSetRoutingPolicyGeoHealthCheckedTargets {
    /**
     * @return The list of internal load balancers to health check.
     * Structure is document below.
     * 
     */
    private List<RecordSetRoutingPolicyGeoHealthCheckedTargetsInternalLoadBalancer> internalLoadBalancers;

    private RecordSetRoutingPolicyGeoHealthCheckedTargets() {}
    /**
     * @return The list of internal load balancers to health check.
     * Structure is document below.
     * 
     */
    public List<RecordSetRoutingPolicyGeoHealthCheckedTargetsInternalLoadBalancer> internalLoadBalancers() {
        return this.internalLoadBalancers;
    }

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

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

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