@Stability(value=Stable) public static final class CfnFaqProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFaqProps>
CfnFaqProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFaqProps |
build()
Builds the configured instance.
|
CfnFaqProps.Builder |
description(String description)
Sets the value of
CfnFaqProps.getDescription() |
CfnFaqProps.Builder |
fileFormat(String fileFormat)
Sets the value of
CfnFaqProps.getFileFormat() |
CfnFaqProps.Builder |
indexId(String indexId)
Sets the value of
CfnFaqProps.getIndexId() |
CfnFaqProps.Builder |
name(String name)
Sets the value of
CfnFaqProps.getName() |
CfnFaqProps.Builder |
roleArn(String roleArn)
Sets the value of
CfnFaqProps.getRoleArn() |
CfnFaqProps.Builder |
s3Path(CfnFaq.S3PathProperty s3Path)
Sets the value of
CfnFaqProps.getS3Path() |
CfnFaqProps.Builder |
s3Path(IResolvable s3Path)
Sets the value of
CfnFaqProps.getS3Path() |
CfnFaqProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnFaqProps.getTags() |
@Stability(value=Stable) public CfnFaqProps.Builder indexId(String indexId)
CfnFaqProps.getIndexId()indexId - The identifier of the index that contains the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaqProps.Builder name(String name)
CfnFaqProps.getName()name - The name that you assigned the FAQ when you created or updated the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaqProps.Builder roleArn(String roleArn)
CfnFaqProps.getRoleArn()roleArn - The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQ. This parameter is required.this@Stability(value=Stable) public CfnFaqProps.Builder s3Path(CfnFaq.S3PathProperty s3Path)
CfnFaqProps.getS3Path()s3Path - The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.this@Stability(value=Stable) public CfnFaqProps.Builder s3Path(IResolvable s3Path)
CfnFaqProps.getS3Path()s3Path - The Amazon Simple Storage Service (Amazon S3) location of the FAQ input data. This parameter is required.this@Stability(value=Stable) public CfnFaqProps.Builder description(String description)
CfnFaqProps.getDescription()description - A description of the FAQ.this@Stability(value=Stable) public CfnFaqProps.Builder fileFormat(String fileFormat)
CfnFaqProps.getFileFormat()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_HEADERJSONthis@Stability(value=Stable) public CfnFaqProps.Builder tags(List<? extends CfnTag> tags)
CfnFaqProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnFaqProps build()
build in interface software.amazon.jsii.Builder<CfnFaqProps>CfnFaqPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.