All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalControlPlaneNodePoolConfigArgs Maven / Gradle / Ivy

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.gkeonprem.v1.inputs.BareMetalNodePoolConfigArgs;
import java.util.Objects;


/**
 * Specifies the control plane node pool configuration.
 * 
 */
public final class BareMetalControlPlaneNodePoolConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final BareMetalControlPlaneNodePoolConfigArgs Empty = new BareMetalControlPlaneNodePoolConfigArgs();

    /**
     * The generic configuration for a node pool running the control plane.
     * 
     */
    @Import(name="nodePoolConfig", required=true)
    private Output nodePoolConfig;

    /**
     * @return The generic configuration for a node pool running the control plane.
     * 
     */
    public Output nodePoolConfig() {
        return this.nodePoolConfig;
    }

    private BareMetalControlPlaneNodePoolConfigArgs() {}

    private BareMetalControlPlaneNodePoolConfigArgs(BareMetalControlPlaneNodePoolConfigArgs $) {
        this.nodePoolConfig = $.nodePoolConfig;
    }

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

    public static final class Builder {
        private BareMetalControlPlaneNodePoolConfigArgs $;

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

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

        /**
         * @param nodePoolConfig The generic configuration for a node pool running the control plane.
         * 
         * @return builder
         * 
         */
        public Builder nodePoolConfig(Output nodePoolConfig) {
            $.nodePoolConfig = nodePoolConfig;
            return this;
        }

        /**
         * @param nodePoolConfig The generic configuration for a node pool running the control plane.
         * 
         * @return builder
         * 
         */
        public Builder nodePoolConfig(BareMetalNodePoolConfigArgs nodePoolConfig) {
            return nodePoolConfig(Output.of(nodePoolConfig));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy