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