// *** 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.iot.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final TopicRuleDynamodbv2PutItemArgs Empty = new TopicRuleDynamodbv2PutItemArgs();

    /**
     * The name of the DynamoDB table.
     * 
     * The `dynamodbv2` object takes the following arguments:
     * 
     */
    @Import(name="tableName", required=true)
    private Output<String> tableName;

    /**
     * @return The name of the DynamoDB table.
     * 
     * The `dynamodbv2` object takes the following arguments:
     * 
     */
    public Output<String> tableName() {
        return this.tableName;
    }

    private TopicRuleDynamodbv2PutItemArgs() {}

    private TopicRuleDynamodbv2PutItemArgs(TopicRuleDynamodbv2PutItemArgs $) {
        this.tableName = $.tableName;
    }

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

    public static final class Builder {
        private TopicRuleDynamodbv2PutItemArgs $;

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

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

        /**
         * @param tableName The name of the DynamoDB table.
         * 
         * The `dynamodbv2` object takes the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder tableName(Output<String> tableName) {
            $.tableName = tableName;
            return this;
        }

        /**
         * @param tableName The name of the DynamoDB table.
         * 
         * The `dynamodbv2` object takes the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder tableName(String tableName) {
            return tableName(Output.of(tableName));
        }

        public TopicRuleDynamodbv2PutItemArgs build() {
            $.tableName = Objects.requireNonNull($.tableName, "expected parameter 'tableName' to be non-null");
            return $;
        }
    }

}
