Class CfnBot.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.S3LocationProperty>
- Enclosing interface:
CfnBot.S3LocationProperty
@Stability(Stable)
public static final class CfnBot.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.S3LocationProperty>
A builder for
CfnBot.S3LocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBot.S3LocationProperty.getS3Bucket()
s3ObjectKey
(String s3ObjectKey) Sets the value ofCfnBot.S3LocationProperty.getS3ObjectKey()
s3ObjectVersion
(String s3ObjectVersion) Sets the value ofCfnBot.S3LocationProperty.getS3ObjectVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
Sets the value ofCfnBot.S3LocationProperty.getS3Bucket()
- Parameters:
s3Bucket
- The S3 bucket name. This parameter is required.- Returns:
this
-
s3ObjectKey
Sets the value ofCfnBot.S3LocationProperty.getS3ObjectKey()
- Parameters:
s3ObjectKey
- The path and file name to the object in the S3 bucket. This parameter is required.- Returns:
this
-
s3ObjectVersion
Sets the value ofCfnBot.S3LocationProperty.getS3ObjectVersion()
- Parameters:
s3ObjectVersion
- The version of the object in the S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.S3LocationProperty>
- Returns:
- a new instance of
CfnBot.S3LocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-