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

com.pulumi.aws.kendra.outputs.GetIndexIndexStatisticTextDocumentStatistic 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetIndexIndexStatisticTextDocumentStatistic {
    /**
     * @return Total size, in bytes, of the indexed documents.
     * 
     */
    private Integer indexedTextBytes;
    /**
     * @return The number of text documents indexed.
     * 
     */
    private Integer indexedTextDocumentsCount;

    private GetIndexIndexStatisticTextDocumentStatistic() {}
    /**
     * @return Total size, in bytes, of the indexed documents.
     * 
     */
    public Integer indexedTextBytes() {
        return this.indexedTextBytes;
    }
    /**
     * @return The number of text documents indexed.
     * 
     */
    public Integer indexedTextDocumentsCount() {
        return this.indexedTextDocumentsCount;
    }

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

    public static Builder builder(GetIndexIndexStatisticTextDocumentStatistic defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer indexedTextBytes;
        private Integer indexedTextDocumentsCount;
        public Builder() {}
        public Builder(GetIndexIndexStatisticTextDocumentStatistic defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.indexedTextBytes = defaults.indexedTextBytes;
    	      this.indexedTextDocumentsCount = defaults.indexedTextDocumentsCount;
        }

        @CustomType.Setter
        public Builder indexedTextBytes(Integer indexedTextBytes) {
            if (indexedTextBytes == null) {
              throw new MissingRequiredPropertyException("GetIndexIndexStatisticTextDocumentStatistic", "indexedTextBytes");
            }
            this.indexedTextBytes = indexedTextBytes;
            return this;
        }
        @CustomType.Setter
        public Builder indexedTextDocumentsCount(Integer indexedTextDocumentsCount) {
            if (indexedTextDocumentsCount == null) {
              throw new MissingRequiredPropertyException("GetIndexIndexStatisticTextDocumentStatistic", "indexedTextDocumentsCount");
            }
            this.indexedTextDocumentsCount = indexedTextDocumentsCount;
            return this;
        }
        public GetIndexIndexStatisticTextDocumentStatistic build() {
            final var _resultValue = new GetIndexIndexStatisticTextDocumentStatistic();
            _resultValue.indexedTextBytes = indexedTextBytes;
            _resultValue.indexedTextDocumentsCount = indexedTextDocumentsCount;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy