Class CfnFaqPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnFaqPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFaqPropsMixin>
- Enclosing class:
CfnFaqPropsMixin
@Stability(Stable)
public static final class CfnFaqPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFaqPropsMixin>
A fluent builder for
CfnFaqPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnFaqPropsMixin.Buildercreate()static CfnFaqPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) A description for the FAQ.fileFormat(String fileFormat) The format of the input file.The identifier of the index that contains the FAQ.languageCode(String languageCode) The code for a language.The name that you assigned the FAQ when you created or updated the FAQ.The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.s3Path(IResolvable s3Path) The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFaqPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFaqPropsMixin.Builder.
-
description
A description for the FAQ.- Parameters:
description- A description for the FAQ. This parameter is required.- Returns:
this- See Also:
-
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.
Valid values are:
CSVCSV_WITH_HEADERJSON
- Parameters:
fileFormat- The format of the input file. This parameter is required.- Returns:
this- See Also:
-
indexId
The identifier of the index that contains the FAQ.- Parameters:
indexId- The identifier of the index that contains the FAQ. This parameter is required.- Returns:
this- See Also:
-
languageCode
The code for a language.This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English .
- Parameters:
languageCode- The code for a language. This parameter is required.- Returns:
this- See Also:
-
name
The name that you assigned the FAQ when you created or updated the FAQ.- Parameters:
name- The name that you assigned the FAQ when you created or updated the FAQ. This parameter is required.- Returns:
this- See Also:
-
roleArn
The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ.- Parameters:
roleArn- The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ. This parameter is required.- Returns:
this- See Also:
-
s3Path
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.- Parameters:
s3Path- The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.- Returns:
this- See Also:
-
s3Path
The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data.- Parameters:
s3Path- The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFaqPropsMixin>- Returns:
- a newly built instance of
CfnFaqPropsMixin.
-