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