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

com.pulumi.azurenative.azurestackhci.inputs.ScaleUnitsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.azurenative.azurestackhci.inputs;

import com.pulumi.azurenative.azurestackhci.inputs.DeploymentDataArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


/**
 * Scale units will contains list of deployment data
 * 
 */
public final class ScaleUnitsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ScaleUnitsArgs Empty = new ScaleUnitsArgs();

    /**
     * Deployment Data to deploy AzureStackHCI Cluster.
     * 
     */
    @Import(name="deploymentData", required=true)
    private Output deploymentData;

    /**
     * @return Deployment Data to deploy AzureStackHCI Cluster.
     * 
     */
    public Output deploymentData() {
        return this.deploymentData;
    }

    private ScaleUnitsArgs() {}

    private ScaleUnitsArgs(ScaleUnitsArgs $) {
        this.deploymentData = $.deploymentData;
    }

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

    public static final class Builder {
        private ScaleUnitsArgs $;

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

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

        /**
         * @param deploymentData Deployment Data to deploy AzureStackHCI Cluster.
         * 
         * @return builder
         * 
         */
        public Builder deploymentData(Output deploymentData) {
            $.deploymentData = deploymentData;
            return this;
        }

        /**
         * @param deploymentData Deployment Data to deploy AzureStackHCI Cluster.
         * 
         * @return builder
         * 
         */
        public Builder deploymentData(DeploymentDataArgs deploymentData) {
            return deploymentData(Output.of(deploymentData));
        }

        public ScaleUnitsArgs build() {
            if ($.deploymentData == null) {
                throw new MissingRequiredPropertyException("ScaleUnitsArgs", "deploymentData");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy