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

com.pulumi.aws.kendra.inputs.IndexIndexStatisticTextDocumentStatisticArgs Maven / Gradle / Ivy

// *** 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.kendra.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 IndexIndexStatisticTextDocumentStatisticArgs extends com.pulumi.resources.ResourceArgs {

    public static final IndexIndexStatisticTextDocumentStatisticArgs Empty = new IndexIndexStatisticTextDocumentStatisticArgs();

    /**
     * The total size, in bytes, of the indexed documents.
     * 
     */
    @Import(name="indexedTextBytes")
    private @Nullable Output indexedTextBytes;

    /**
     * @return The total size, in bytes, of the indexed documents.
     * 
     */
    public Optional> indexedTextBytes() {
        return Optional.ofNullable(this.indexedTextBytes);
    }

    /**
     * The number of text documents indexed.
     * 
     */
    @Import(name="indexedTextDocumentsCount")
    private @Nullable Output indexedTextDocumentsCount;

    /**
     * @return The number of text documents indexed.
     * 
     */
    public Optional> indexedTextDocumentsCount() {
        return Optional.ofNullable(this.indexedTextDocumentsCount);
    }

    private IndexIndexStatisticTextDocumentStatisticArgs() {}

    private IndexIndexStatisticTextDocumentStatisticArgs(IndexIndexStatisticTextDocumentStatisticArgs $) {
        this.indexedTextBytes = $.indexedTextBytes;
        this.indexedTextDocumentsCount = $.indexedTextDocumentsCount;
    }

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

    public static final class Builder {
        private IndexIndexStatisticTextDocumentStatisticArgs $;

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

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

        /**
         * @param indexedTextBytes The total size, in bytes, of the indexed documents.
         * 
         * @return builder
         * 
         */
        public Builder indexedTextBytes(@Nullable Output indexedTextBytes) {
            $.indexedTextBytes = indexedTextBytes;
            return this;
        }

        /**
         * @param indexedTextBytes The total size, in bytes, of the indexed documents.
         * 
         * @return builder
         * 
         */
        public Builder indexedTextBytes(Integer indexedTextBytes) {
            return indexedTextBytes(Output.of(indexedTextBytes));
        }

        /**
         * @param indexedTextDocumentsCount The number of text documents indexed.
         * 
         * @return builder
         * 
         */
        public Builder indexedTextDocumentsCount(@Nullable Output indexedTextDocumentsCount) {
            $.indexedTextDocumentsCount = indexedTextDocumentsCount;
            return this;
        }

        /**
         * @param indexedTextDocumentsCount The number of text documents indexed.
         * 
         * @return builder
         * 
         */
        public Builder indexedTextDocumentsCount(Integer indexedTextDocumentsCount) {
            return indexedTextDocumentsCount(Output.of(indexedTextDocumentsCount));
        }

        public IndexIndexStatisticTextDocumentStatisticArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy