// *** 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VMwareClusterLoadBalancerF5Config {
    /**
     * @return The load balancer&#39;s IP address.
     * 
     */
    private @Nullable String address;
    /**
     * @return he preexisting partition to be used by the load balancer. T
     * his partition is usually created for the admin cluster for example:
     * &#39;my-f5-admin-partition&#39;.
     * 
     */
    private @Nullable String partition;
    /**
     * @return The pool name. Only necessary, if using SNAT.
     * 
     */
    private @Nullable String snatPool;

    private VMwareClusterLoadBalancerF5Config() {}
    /**
     * @return The load balancer&#39;s IP address.
     * 
     */
    public Optional<String> address() {
        return Optional.ofNullable(this.address);
    }
    /**
     * @return he preexisting partition to be used by the load balancer. T
     * his partition is usually created for the admin cluster for example:
     * &#39;my-f5-admin-partition&#39;.
     * 
     */
    public Optional<String> partition() {
        return Optional.ofNullable(this.partition);
    }
    /**
     * @return The pool name. Only necessary, if using SNAT.
     * 
     */
    public Optional<String> snatPool() {
        return Optional.ofNullable(this.snatPool);
    }

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

    public static Builder builder(VMwareClusterLoadBalancerF5Config defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String address;
        private @Nullable String partition;
        private @Nullable String snatPool;
        public Builder() {}
        public Builder(VMwareClusterLoadBalancerF5Config defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.address = defaults.address;
    	      this.partition = defaults.partition;
    	      this.snatPool = defaults.snatPool;
        }

        @CustomType.Setter
        public Builder address(@Nullable String address) {
            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder partition(@Nullable String partition) {
            this.partition = partition;
            return this;
        }
        @CustomType.Setter
        public Builder snatPool(@Nullable String snatPool) {
            this.snatPool = snatPool;
            return this;
        }
        public VMwareClusterLoadBalancerF5Config build() {
            final var o = new VMwareClusterLoadBalancerF5Config();
            o.address = address;
            o.partition = partition;
            o.snatPool = snatPool;
            return o;
        }
    }
}
