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

com.pulumi.azurenative.standbypool.inputs.StandbyVirtualMachinePoolElasticityProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.standbypool.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.util.Objects;


/**
 * Details of the elasticity profile.
 * 
 */
public final class StandbyVirtualMachinePoolElasticityProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final StandbyVirtualMachinePoolElasticityProfileArgs Empty = new StandbyVirtualMachinePoolElasticityProfileArgs();

    /**
     * Specifies the maximum number of virtual machines in the standby virtual machine pool.
     * 
     */
    @Import(name="maxReadyCapacity", required=true)
    private Output maxReadyCapacity;

    /**
     * @return Specifies the maximum number of virtual machines in the standby virtual machine pool.
     * 
     */
    public Output maxReadyCapacity() {
        return this.maxReadyCapacity;
    }

    private StandbyVirtualMachinePoolElasticityProfileArgs() {}

    private StandbyVirtualMachinePoolElasticityProfileArgs(StandbyVirtualMachinePoolElasticityProfileArgs $) {
        this.maxReadyCapacity = $.maxReadyCapacity;
    }

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

    public static final class Builder {
        private StandbyVirtualMachinePoolElasticityProfileArgs $;

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

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

        /**
         * @param maxReadyCapacity Specifies the maximum number of virtual machines in the standby virtual machine pool.
         * 
         * @return builder
         * 
         */
        public Builder maxReadyCapacity(Output maxReadyCapacity) {
            $.maxReadyCapacity = maxReadyCapacity;
            return this;
        }

        /**
         * @param maxReadyCapacity Specifies the maximum number of virtual machines in the standby virtual machine pool.
         * 
         * @return builder
         * 
         */
        public Builder maxReadyCapacity(Double maxReadyCapacity) {
            return maxReadyCapacity(Output.of(maxReadyCapacity));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy