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

com.pulumi.aws.dynamodb.inputs.TableGlobalSecondaryIndexOnDemandThroughputArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.dynamodb.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 TableGlobalSecondaryIndexOnDemandThroughputArgs extends com.pulumi.resources.ResourceArgs {

    public static final TableGlobalSecondaryIndexOnDemandThroughputArgs Empty = new TableGlobalSecondaryIndexOnDemandThroughputArgs();

    /**
     * Maximum number of read request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
     * 
     */
    @Import(name="maxReadRequestUnits")
    private @Nullable Output maxReadRequestUnits;

    /**
     * @return Maximum number of read request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
     * 
     */
    public Optional> maxReadRequestUnits() {
        return Optional.ofNullable(this.maxReadRequestUnits);
    }

    /**
     * Maximum number of write request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
     * 
     */
    @Import(name="maxWriteRequestUnits")
    private @Nullable Output maxWriteRequestUnits;

    /**
     * @return Maximum number of write request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
     * 
     */
    public Optional> maxWriteRequestUnits() {
        return Optional.ofNullable(this.maxWriteRequestUnits);
    }

    private TableGlobalSecondaryIndexOnDemandThroughputArgs() {}

    private TableGlobalSecondaryIndexOnDemandThroughputArgs(TableGlobalSecondaryIndexOnDemandThroughputArgs $) {
        this.maxReadRequestUnits = $.maxReadRequestUnits;
        this.maxWriteRequestUnits = $.maxWriteRequestUnits;
    }

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

    public static final class Builder {
        private TableGlobalSecondaryIndexOnDemandThroughputArgs $;

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

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

        /**
         * @param maxReadRequestUnits Maximum number of read request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
         * 
         * @return builder
         * 
         */
        public Builder maxReadRequestUnits(@Nullable Output maxReadRequestUnits) {
            $.maxReadRequestUnits = maxReadRequestUnits;
            return this;
        }

        /**
         * @param maxReadRequestUnits Maximum number of read request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
         * 
         * @return builder
         * 
         */
        public Builder maxReadRequestUnits(Integer maxReadRequestUnits) {
            return maxReadRequestUnits(Output.of(maxReadRequestUnits));
        }

        /**
         * @param maxWriteRequestUnits Maximum number of write request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
         * 
         * @return builder
         * 
         */
        public Builder maxWriteRequestUnits(@Nullable Output maxWriteRequestUnits) {
            $.maxWriteRequestUnits = maxWriteRequestUnits;
            return this;
        }

        /**
         * @param maxWriteRequestUnits Maximum number of write request units for the specified table. To specify set the value greater than or equal to 1. To remove set the value to -1.
         * 
         * @return builder
         * 
         */
        public Builder maxWriteRequestUnits(Integer maxWriteRequestUnits) {
            return maxWriteRequestUnits(Output.of(maxWriteRequestUnits));
        }

        public TableGlobalSecondaryIndexOnDemandThroughputArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy