Class CfnFaq.S3PathProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnFaq.S3PathProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnFaq.S3PathProperty>
- Enclosing interface:
- CfnFaq.S3PathProperty
@Stability(Stable)
public static final class CfnFaq.S3PathProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFaq.S3PathProperty>
A builder for 
CfnFaq.S3PathProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofCfnFaq.S3PathProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnFaq.S3PathProperty.getKey()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
bucketSets the value ofCfnFaq.S3PathProperty.getBucket()- Parameters:
- bucket- The name of the S3 bucket that contains the file. This parameter is required.
- Returns:
- this
 
- 
keySets the value ofCfnFaq.S3PathProperty.getKey()- Parameters:
- key- The name of the file. This parameter is required.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnFaq.S3PathProperty>
- Returns:
- a new instance of CfnFaq.S3PathProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-