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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterArgs Empty = new ClusterArgs();

    /**
     * The count of the VMware Cluster nodes.
     * 
     */
    @Import(name="clusterNodeCount", required=true)
    private Output<Integer> clusterNodeCount;

    /**
     * @return The count of the VMware Cluster nodes.
     * 
     */
    public Output<Integer> clusterNodeCount() {
        return this.clusterNodeCount;
    }

    /**
     * The name which should be used for this VMware Cluster. Changing this forces a new VMware Cluster to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return The name which should be used for this VMware Cluster. Changing this forces a new VMware Cluster to be created.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p` and `av52`. Changing this forces a new VMware Cluster to be created.
     * 
     */
    @Import(name="skuName", required=true)
    private Output<String> skuName;

    /**
     * @return The cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p` and `av52`. Changing this forces a new VMware Cluster to be created.
     * 
     */
    public Output<String> skuName() {
        return this.skuName;
    }

    /**
     * The ID of the VMware Private Cloud in which to create this VMware Cluster. Changing this forces a new VMware Cluster to be created.
     * 
     */
    @Import(name="vmwareCloudId", required=true)
    private Output<String> vmwareCloudId;

    /**
     * @return The ID of the VMware Private Cloud in which to create this VMware Cluster. Changing this forces a new VMware Cluster to be created.
     * 
     */
    public Output<String> vmwareCloudId() {
        return this.vmwareCloudId;
    }

    private ClusterArgs() {}

    private ClusterArgs(ClusterArgs $) {
        this.clusterNodeCount = $.clusterNodeCount;
        this.name = $.name;
        this.skuName = $.skuName;
        this.vmwareCloudId = $.vmwareCloudId;
    }

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

    public static final class Builder {
        private ClusterArgs $;

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

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

        /**
         * @param clusterNodeCount The count of the VMware Cluster nodes.
         * 
         * @return builder
         * 
         */
        public Builder clusterNodeCount(Output<Integer> clusterNodeCount) {
            $.clusterNodeCount = clusterNodeCount;
            return this;
        }

        /**
         * @param clusterNodeCount The count of the VMware Cluster nodes.
         * 
         * @return builder
         * 
         */
        public Builder clusterNodeCount(Integer clusterNodeCount) {
            return clusterNodeCount(Output.of(clusterNodeCount));
        }

        /**
         * @param name The name which should be used for this VMware Cluster. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this VMware Cluster. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param skuName The cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p` and `av52`. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder skuName(Output<String> skuName) {
            $.skuName = skuName;
            return this;
        }

        /**
         * @param skuName The cluster SKU to use. Possible values are `av20`, `av36`, `av36t`, `av36p` and `av52`. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder skuName(String skuName) {
            return skuName(Output.of(skuName));
        }

        /**
         * @param vmwareCloudId The ID of the VMware Private Cloud in which to create this VMware Cluster. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder vmwareCloudId(Output<String> vmwareCloudId) {
            $.vmwareCloudId = vmwareCloudId;
            return this;
        }

        /**
         * @param vmwareCloudId The ID of the VMware Private Cloud in which to create this VMware Cluster. Changing this forces a new VMware Cluster to be created.
         * 
         * @return builder
         * 
         */
        public Builder vmwareCloudId(String vmwareCloudId) {
            return vmwareCloudId(Output.of(vmwareCloudId));
        }

        public ClusterArgs build() {
            $.clusterNodeCount = Objects.requireNonNull($.clusterNodeCount, "expected parameter 'clusterNodeCount' to be non-null");
            $.skuName = Objects.requireNonNull($.skuName, "expected parameter 'skuName' to be non-null");
            $.vmwareCloudId = Objects.requireNonNull($.vmwareCloudId, "expected parameter 'vmwareCloudId' to be non-null");
            return $;
        }
    }

}
