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

com.pulumi.azurenative.documentdb.inputs.CapacityArgs 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.documentdb.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;


/**
 * The object that represents all properties related to capacity enforcement on an account.
 * 
 */
public final class CapacityArgs extends com.pulumi.resources.ResourceArgs {

    public static final CapacityArgs Empty = new CapacityArgs();

    /**
     * The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
     * 
     */
    @Import(name="totalThroughputLimit")
    private @Nullable Output totalThroughputLimit;

    /**
     * @return The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
     * 
     */
    public Optional> totalThroughputLimit() {
        return Optional.ofNullable(this.totalThroughputLimit);
    }

    private CapacityArgs() {}

    private CapacityArgs(CapacityArgs $) {
        this.totalThroughputLimit = $.totalThroughputLimit;
    }

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

    public static final class Builder {
        private CapacityArgs $;

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

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

        /**
         * @param totalThroughputLimit The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
         * 
         * @return builder
         * 
         */
        public Builder totalThroughputLimit(@Nullable Output totalThroughputLimit) {
            $.totalThroughputLimit = totalThroughputLimit;
            return this;
        }

        /**
         * @param totalThroughputLimit The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput.
         * 
         * @return builder
         * 
         */
        public Builder totalThroughputLimit(Integer totalThroughputLimit) {
            return totalThroughputLimit(Output.of(totalThroughputLimit));
        }

        public CapacityArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy