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

com.pulumi.googlenative.gkeonprem.v1.inputs.VmwareControlPlaneNodeConfigArgs 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.VmwareAutoResizeConfigArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specifies control plane node config for the VMware user cluster.
 * 
 */
public final class VmwareControlPlaneNodeConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final VmwareControlPlaneNodeConfigArgs Empty = new VmwareControlPlaneNodeConfigArgs();

    /**
     * AutoResizeConfig provides auto resizing configurations.
     * 
     */
    @Import(name="autoResizeConfig")
    private @Nullable Output autoResizeConfig;

    /**
     * @return AutoResizeConfig provides auto resizing configurations.
     * 
     */
    public Optional> autoResizeConfig() {
        return Optional.ofNullable(this.autoResizeConfig);
    }

    /**
     * The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
     * 
     */
    @Import(name="cpus")
    private @Nullable Output cpus;

    /**
     * @return The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
     * 
     */
    public Optional> cpus() {
        return Optional.ofNullable(this.cpus);
    }

    /**
     * The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
     * 
     */
    @Import(name="memory")
    private @Nullable Output memory;

    /**
     * @return The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
     * 
     */
    public Optional> memory() {
        return Optional.ofNullable(this.memory);
    }

    /**
     * The number of control plane nodes for this VMware user cluster. (default: 1 replica).
     * 
     */
    @Import(name="replicas")
    private @Nullable Output replicas;

    /**
     * @return The number of control plane nodes for this VMware user cluster. (default: 1 replica).
     * 
     */
    public Optional> replicas() {
        return Optional.ofNullable(this.replicas);
    }

    private VmwareControlPlaneNodeConfigArgs() {}

    private VmwareControlPlaneNodeConfigArgs(VmwareControlPlaneNodeConfigArgs $) {
        this.autoResizeConfig = $.autoResizeConfig;
        this.cpus = $.cpus;
        this.memory = $.memory;
        this.replicas = $.replicas;
    }

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

    public static final class Builder {
        private VmwareControlPlaneNodeConfigArgs $;

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

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

        /**
         * @param autoResizeConfig AutoResizeConfig provides auto resizing configurations.
         * 
         * @return builder
         * 
         */
        public Builder autoResizeConfig(@Nullable Output autoResizeConfig) {
            $.autoResizeConfig = autoResizeConfig;
            return this;
        }

        /**
         * @param autoResizeConfig AutoResizeConfig provides auto resizing configurations.
         * 
         * @return builder
         * 
         */
        public Builder autoResizeConfig(VmwareAutoResizeConfigArgs autoResizeConfig) {
            return autoResizeConfig(Output.of(autoResizeConfig));
        }

        /**
         * @param cpus The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
         * 
         * @return builder
         * 
         */
        public Builder cpus(@Nullable Output cpus) {
            $.cpus = cpus;
            return this;
        }

        /**
         * @param cpus The number of CPUs for each admin cluster node that serve as control planes for this VMware user cluster. (default: 4 CPUs)
         * 
         * @return builder
         * 
         */
        public Builder cpus(String cpus) {
            return cpus(Output.of(cpus));
        }

        /**
         * @param memory The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
         * 
         * @return builder
         * 
         */
        public Builder memory(@Nullable Output memory) {
            $.memory = memory;
            return this;
        }

        /**
         * @param memory The megabytes of memory for each admin cluster node that serves as a control plane for this VMware user cluster (default: 8192 MB memory).
         * 
         * @return builder
         * 
         */
        public Builder memory(String memory) {
            return memory(Output.of(memory));
        }

        /**
         * @param replicas The number of control plane nodes for this VMware user cluster. (default: 1 replica).
         * 
         * @return builder
         * 
         */
        public Builder replicas(@Nullable Output replicas) {
            $.replicas = replicas;
            return this;
        }

        /**
         * @param replicas The number of control plane nodes for this VMware user cluster. (default: 1 replica).
         * 
         * @return builder
         * 
         */
        public Builder replicas(String replicas) {
            return replicas(Output.of(replicas));
        }

        public VmwareControlPlaneNodeConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy