com.pulumi.aws.kendra.outputs.GetIndexIndexStatistic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.kendra.outputs.GetIndexIndexStatisticFaqStatistic;
import com.pulumi.aws.kendra.outputs.GetIndexIndexStatisticTextDocumentStatistic;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetIndexIndexStatistic {
/**
* @return Block that specifies the number of question and answer topics in the index. Documented below.
*
*/
private List faqStatistics;
/**
* @return A block that specifies the number of text documents indexed.
*
*/
private List textDocumentStatistics;
private GetIndexIndexStatistic() {}
/**
* @return Block that specifies the number of question and answer topics in the index. Documented below.
*
*/
public List faqStatistics() {
return this.faqStatistics;
}
/**
* @return A block that specifies the number of text documents indexed.
*
*/
public List textDocumentStatistics() {
return this.textDocumentStatistics;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIndexIndexStatistic defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List faqStatistics;
private List textDocumentStatistics;
public Builder() {}
public Builder(GetIndexIndexStatistic defaults) {
Objects.requireNonNull(defaults);
this.faqStatistics = defaults.faqStatistics;
this.textDocumentStatistics = defaults.textDocumentStatistics;
}
@CustomType.Setter
public Builder faqStatistics(List faqStatistics) {
if (faqStatistics == null) {
throw new MissingRequiredPropertyException("GetIndexIndexStatistic", "faqStatistics");
}
this.faqStatistics = faqStatistics;
return this;
}
public Builder faqStatistics(GetIndexIndexStatisticFaqStatistic... faqStatistics) {
return faqStatistics(List.of(faqStatistics));
}
@CustomType.Setter
public Builder textDocumentStatistics(List textDocumentStatistics) {
if (textDocumentStatistics == null) {
throw new MissingRequiredPropertyException("GetIndexIndexStatistic", "textDocumentStatistics");
}
this.textDocumentStatistics = textDocumentStatistics;
return this;
}
public Builder textDocumentStatistics(GetIndexIndexStatisticTextDocumentStatistic... textDocumentStatistics) {
return textDocumentStatistics(List.of(textDocumentStatistics));
}
public GetIndexIndexStatistic build() {
final var _resultValue = new GetIndexIndexStatistic();
_resultValue.faqStatistics = faqStatistics;
_resultValue.textDocumentStatistics = textDocumentStatistics;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy