// *** 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;

import com.pulumi.aws.iot.inputs.IndexingConfigurationThingGroupIndexingConfigurationArgs;
import com.pulumi.aws.iot.inputs.IndexingConfigurationThingIndexingConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final IndexingConfigurationArgs Empty = new IndexingConfigurationArgs();

    /**
     * Thing group indexing configuration. See below.
     * 
     */
    @Import(name="thingGroupIndexingConfiguration")
    private @Nullable Output<IndexingConfigurationThingGroupIndexingConfigurationArgs> thingGroupIndexingConfiguration;

    /**
     * @return Thing group indexing configuration. See below.
     * 
     */
    public Optional<Output<IndexingConfigurationThingGroupIndexingConfigurationArgs>> thingGroupIndexingConfiguration() {
        return Optional.ofNullable(this.thingGroupIndexingConfiguration);
    }

    /**
     * Thing indexing configuration. See below.
     * 
     */
    @Import(name="thingIndexingConfiguration")
    private @Nullable Output<IndexingConfigurationThingIndexingConfigurationArgs> thingIndexingConfiguration;

    /**
     * @return Thing indexing configuration. See below.
     * 
     */
    public Optional<Output<IndexingConfigurationThingIndexingConfigurationArgs>> thingIndexingConfiguration() {
        return Optional.ofNullable(this.thingIndexingConfiguration);
    }

    private IndexingConfigurationArgs() {}

    private IndexingConfigurationArgs(IndexingConfigurationArgs $) {
        this.thingGroupIndexingConfiguration = $.thingGroupIndexingConfiguration;
        this.thingIndexingConfiguration = $.thingIndexingConfiguration;
    }

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

    public static final class Builder {
        private IndexingConfigurationArgs $;

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

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

        /**
         * @param thingGroupIndexingConfiguration Thing group indexing configuration. See below.
         * 
         * @return builder
         * 
         */
        public Builder thingGroupIndexingConfiguration(@Nullable Output<IndexingConfigurationThingGroupIndexingConfigurationArgs> thingGroupIndexingConfiguration) {
            $.thingGroupIndexingConfiguration = thingGroupIndexingConfiguration;
            return this;
        }

        /**
         * @param thingGroupIndexingConfiguration Thing group indexing configuration. See below.
         * 
         * @return builder
         * 
         */
        public Builder thingGroupIndexingConfiguration(IndexingConfigurationThingGroupIndexingConfigurationArgs thingGroupIndexingConfiguration) {
            return thingGroupIndexingConfiguration(Output.of(thingGroupIndexingConfiguration));
        }

        /**
         * @param thingIndexingConfiguration Thing indexing configuration. See below.
         * 
         * @return builder
         * 
         */
        public Builder thingIndexingConfiguration(@Nullable Output<IndexingConfigurationThingIndexingConfigurationArgs> thingIndexingConfiguration) {
            $.thingIndexingConfiguration = thingIndexingConfiguration;
            return this;
        }

        /**
         * @param thingIndexingConfiguration Thing indexing configuration. See below.
         * 
         * @return builder
         * 
         */
        public Builder thingIndexingConfiguration(IndexingConfigurationThingIndexingConfigurationArgs thingIndexingConfiguration) {
            return thingIndexingConfiguration(Output.of(thingIndexingConfiguration));
        }

        public IndexingConfigurationArgs build() {
            return $;
        }
    }

}
