public static interface CreateFaqRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<CreateFaqRequest.Builder,CreateFaqRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFaqRequest.Builder |
clientToken(String clientToken)
A token that you provide to identify the request to create a FAQ.
|
CreateFaqRequest.Builder |
description(String description)
A description of the FAQ.
|
CreateFaqRequest.Builder |
fileFormat(FaqFileFormat fileFormat)
The format of the input file.
|
CreateFaqRequest.Builder |
fileFormat(String fileFormat)
The format of the input file.
|
CreateFaqRequest.Builder |
indexId(String indexId)
The identifier of the index that contains the FAQ.
|
CreateFaqRequest.Builder |
name(String name)
The name that should be associated with the FAQ.
|
CreateFaqRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFaqRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFaqRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs.
|
default CreateFaqRequest.Builder |
s3Path(Consumer<S3Path.Builder> s3Path)
The S3 location of the FAQ input data.
|
CreateFaqRequest.Builder |
s3Path(S3Path s3Path)
The S3 location of the FAQ input data.
|
CreateFaqRequest.Builder |
tags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ.
|
CreateFaqRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the FAQ.
|
CreateFaqRequest.Builder |
tags(Tag... tags)
A list of key-value pairs that identify the FAQ.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFaqRequest.Builder indexId(String indexId)
The identifier of the index that contains the FAQ.
indexId - The identifier of the index that contains the FAQ.CreateFaqRequest.Builder name(String name)
The name that should be associated with the FAQ.
name - The name that should be associated with the FAQ.CreateFaqRequest.Builder description(String description)
A description of the FAQ.
description - A description of the FAQ.CreateFaqRequest.Builder s3Path(S3Path s3Path)
The S3 location of the FAQ input data.
s3Path - The S3 location of the FAQ input data.default CreateFaqRequest.Builder s3Path(Consumer<S3Path.Builder> s3Path)
The S3 location of the FAQ input data.
This is a convenience that creates an instance of theS3Path.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)CreateFaqRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.
roleArn - The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the
FAQs. For more information, see IAM Roles for Amazon Kendra.CreateFaqRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your
resources and to control access to resources.CreateFaqRequest.Builder tags(Tag... tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
tags - A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your
resources and to control access to resources.CreateFaqRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateFaqRequest.Builder fileFormat(String fileFormat)
The format of the input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.
The format must match the format of the file stored in the S3 bucket identified in the S3Path
parameter.
For more information, see Adding questions and answers.
fileFormat - The format of the input file. You can choose between a basic CSV format, a CSV format that includes
customs attributes in a header, and a JSON format that includes custom attributes.
The format must match the format of the file stored in the S3 bucket identified in the
S3Path parameter.
For more information, see Adding questions and answers.
FaqFileFormat,
FaqFileFormatCreateFaqRequest.Builder fileFormat(FaqFileFormat fileFormat)
The format of the input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.
The format must match the format of the file stored in the S3 bucket identified in the S3Path
parameter.
For more information, see Adding questions and answers.
fileFormat - The format of the input file. You can choose between a basic CSV format, a CSV format that includes
customs attributes in a header, and a JSON format that includes custom attributes.
The format must match the format of the file stored in the S3 bucket identified in the
S3Path parameter.
For more information, see Adding questions and answers.
FaqFileFormat,
FaqFileFormatCreateFaqRequest.Builder clientToken(String clientToken)
A token that you provide to identify the request to create a FAQ. Multiple calls to the
CreateFaqRequest operation with the same client token will create only one FAQ.
clientToken - A token that you provide to identify the request to create a FAQ. Multiple calls to the
CreateFaqRequest operation with the same client token will create only one FAQ.CreateFaqRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFaqRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.