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

com.pulumi.azure.cosmosdb.inputs.MongoDatabaseAutoscaleSettingsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.cosmosdb.inputs;

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


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

    public static final MongoDatabaseAutoscaleSettingsArgs Empty = new MongoDatabaseAutoscaleSettingsArgs();

    /**
     * The maximum throughput of the MongoDB database (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
     * 
     */
    @Import(name="maxThroughput")
    private @Nullable Output maxThroughput;

    /**
     * @return The maximum throughput of the MongoDB database (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
     * 
     */
    public Optional> maxThroughput() {
        return Optional.ofNullable(this.maxThroughput);
    }

    private MongoDatabaseAutoscaleSettingsArgs() {}

    private MongoDatabaseAutoscaleSettingsArgs(MongoDatabaseAutoscaleSettingsArgs $) {
        this.maxThroughput = $.maxThroughput;
    }

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

    public static final class Builder {
        private MongoDatabaseAutoscaleSettingsArgs $;

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

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

        /**
         * @param maxThroughput The maximum throughput of the MongoDB database (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
         * 
         * @return builder
         * 
         */
        public Builder maxThroughput(@Nullable Output maxThroughput) {
            $.maxThroughput = maxThroughput;
            return this;
        }

        /**
         * @param maxThroughput The maximum throughput of the MongoDB database (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
         * 
         * @return builder
         * 
         */
        public Builder maxThroughput(Integer maxThroughput) {
            return maxThroughput(Output.of(maxThroughput));
        }

        public MongoDatabaseAutoscaleSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy