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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;


public final class VMwareClusterNetworkConfigDhcpIpConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final VMwareClusterNetworkConfigDhcpIpConfigArgs Empty = new VMwareClusterNetworkConfigDhcpIpConfigArgs();

    /**
     * enabled is a flag to mark if DHCP IP allocation is
     * used for VMware user clusters.
     * 
     */
    @Import(name="enabled", required=true)
    private Output<Boolean> enabled;

    /**
     * @return enabled is a flag to mark if DHCP IP allocation is
     * used for VMware user clusters.
     * 
     */
    public Output<Boolean> enabled() {
        return this.enabled;
    }

    private VMwareClusterNetworkConfigDhcpIpConfigArgs() {}

    private VMwareClusterNetworkConfigDhcpIpConfigArgs(VMwareClusterNetworkConfigDhcpIpConfigArgs $) {
        this.enabled = $.enabled;
    }

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

    public static final class Builder {
        private VMwareClusterNetworkConfigDhcpIpConfigArgs $;

        public Builder() {
            $ = new VMwareClusterNetworkConfigDhcpIpConfigArgs();
        }

        public Builder(VMwareClusterNetworkConfigDhcpIpConfigArgs defaults) {
            $ = new VMwareClusterNetworkConfigDhcpIpConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param enabled enabled is a flag to mark if DHCP IP allocation is
         * used for VMware user clusters.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Output<Boolean> enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled enabled is a flag to mark if DHCP IP allocation is
         * used for VMware user clusters.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public VMwareClusterNetworkConfigDhcpIpConfigArgs build() {
            $.enabled = Objects.requireNonNull($.enabled, "expected parameter 'enabled' to be non-null");
            return $;
        }
    }

}
