public static interface DescribeFaqResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeFaqResponse.Builder,DescribeFaqResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeFaqResponse.Builder |
createdAt(Instant createdAt)
The Unix timestamp when the FAQ was created.
|
DescribeFaqResponse.Builder |
description(String description)
The description of the FAQ that you provided when it was created.
|
DescribeFaqResponse.Builder |
errorMessage(String errorMessage)
If the
Status field is FAILED, the ErrorMessage field contains the
reason why the FAQ failed. |
DescribeFaqResponse.Builder |
fileFormat(FaqFileFormat fileFormat)
The file format used by the input files for the FAQ.
|
DescribeFaqResponse.Builder |
fileFormat(String fileFormat)
The file format used by the input files for the FAQ.
|
DescribeFaqResponse.Builder |
id(String id)
The identifier of the FAQ.
|
DescribeFaqResponse.Builder |
indexId(String indexId)
The identifier of the index for the FAQ.
|
DescribeFaqResponse.Builder |
languageCode(String languageCode)
The code for a language.
|
DescribeFaqResponse.Builder |
name(String name)
The name that you gave the FAQ when it was created.
|
DescribeFaqResponse.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files
for the FAQ.
|
default DescribeFaqResponse.Builder |
s3Path(Consumer<S3Path.Builder> s3Path)
Sets the value of the S3Path property for this object.
|
DescribeFaqResponse.Builder |
s3Path(S3Path s3Path)
Sets the value of the S3Path property for this object.
|
DescribeFaqResponse.Builder |
status(FaqStatus status)
The status of the FAQ.
|
DescribeFaqResponse.Builder |
status(String status)
The status of the FAQ.
|
DescribeFaqResponse.Builder |
updatedAt(Instant updatedAt)
The Unix timestamp when the FAQ was last updated.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeFaqResponse.Builder id(String id)
The identifier of the FAQ.
id - The identifier of the FAQ.DescribeFaqResponse.Builder indexId(String indexId)
The identifier of the index for the FAQ.
indexId - The identifier of the index for the FAQ.DescribeFaqResponse.Builder name(String name)
The name that you gave the FAQ when it was created.
name - The name that you gave the FAQ when it was created.DescribeFaqResponse.Builder description(String description)
The description of the FAQ that you provided when it was created.
description - The description of the FAQ that you provided when it was created.DescribeFaqResponse.Builder createdAt(Instant createdAt)
The Unix timestamp when the FAQ was created.
createdAt - The Unix timestamp when the FAQ was created.DescribeFaqResponse.Builder updatedAt(Instant updatedAt)
The Unix timestamp when the FAQ was last updated.
updatedAt - The Unix timestamp when the FAQ was last updated.DescribeFaqResponse.Builder s3Path(S3Path s3Path)
s3Path - The new value for the S3Path property for this object.default DescribeFaqResponse.Builder s3Path(Consumer<S3Path.Builder> s3Path)
S3Path.Builder avoiding the need to
create one manually via S3Path.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to s3Path(S3Path).
s3Path - a consumer that will call methods on S3Path.Builders3Path(S3Path)DescribeFaqResponse.Builder status(String status)
The status of the FAQ. It is ready to use when the status is ACTIVE.
DescribeFaqResponse.Builder status(FaqStatus status)
The status of the FAQ. It is ready to use when the status is ACTIVE.
DescribeFaqResponse.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.
roleArn - The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input
files for the FAQ.DescribeFaqResponse.Builder errorMessage(String errorMessage)
If the Status field is FAILED, the ErrorMessage field contains the
reason why the FAQ failed.
errorMessage - If the Status field is FAILED, the ErrorMessage field contains
the reason why the FAQ failed.DescribeFaqResponse.Builder fileFormat(String fileFormat)
The file format used by the input files for the FAQ.
fileFormat - The file format used by the input files for the FAQ.FaqFileFormat,
FaqFileFormatDescribeFaqResponse.Builder fileFormat(FaqFileFormat fileFormat)
The file format used by the input files for the FAQ.
fileFormat - The file format used by the input files for the FAQ.FaqFileFormat,
FaqFileFormatDescribeFaqResponse.Builder languageCode(String languageCode)
The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode - The code for a language. This shows a supported language for the FAQ document. English is supported by
default. For more information on supported languages, including their codes, see Adding documents in
languages other than English.Copyright © 2023. All rights reserved.