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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.gcp.container.inputs.ClusterNodePoolDefaultsNodeConfigDefaultsArgs;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterNodePoolDefaultsArgs Empty = new ClusterNodePoolDefaultsArgs();

    /**
     * Subset of NodeConfig message that has defaults.
     * 
     */
    @Import(name="nodeConfigDefaults")
    private @Nullable Output<ClusterNodePoolDefaultsNodeConfigDefaultsArgs> nodeConfigDefaults;

    /**
     * @return Subset of NodeConfig message that has defaults.
     * 
     */
    public Optional<Output<ClusterNodePoolDefaultsNodeConfigDefaultsArgs>> nodeConfigDefaults() {
        return Optional.ofNullable(this.nodeConfigDefaults);
    }

    private ClusterNodePoolDefaultsArgs() {}

    private ClusterNodePoolDefaultsArgs(ClusterNodePoolDefaultsArgs $) {
        this.nodeConfigDefaults = $.nodeConfigDefaults;
    }

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

    public static final class Builder {
        private ClusterNodePoolDefaultsArgs $;

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

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

        /**
         * @param nodeConfigDefaults Subset of NodeConfig message that has defaults.
         * 
         * @return builder
         * 
         */
        public Builder nodeConfigDefaults(@Nullable Output<ClusterNodePoolDefaultsNodeConfigDefaultsArgs> nodeConfigDefaults) {
            $.nodeConfigDefaults = nodeConfigDefaults;
            return this;
        }

        /**
         * @param nodeConfigDefaults Subset of NodeConfig message that has defaults.
         * 
         * @return builder
         * 
         */
        public Builder nodeConfigDefaults(ClusterNodePoolDefaultsNodeConfigDefaultsArgs nodeConfigDefaults) {
            return nodeConfigDefaults(Output.of(nodeConfigDefaults));
        }

        public ClusterNodePoolDefaultsArgs build() {
            return $;
        }
    }

}
