Class CfnAgentPropsMixin.S3IdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAgentPropsMixin.S3IdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin.S3IdentifierProperty>
- Enclosing interface:
CfnAgentPropsMixin.S3IdentifierProperty
@Stability(Stable)
public static final class CfnAgentPropsMixin.S3IdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin.S3IdentifierProperty>
A builder for
CfnAgentPropsMixin.S3IdentifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.s3BucketName(String s3BucketName) Sets the value ofCfnAgentPropsMixin.S3IdentifierProperty.getS3BucketName()s3ObjectKey(String s3ObjectKey) Sets the value ofCfnAgentPropsMixin.S3IdentifierProperty.getS3ObjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3BucketName
@Stability(Stable) public CfnAgentPropsMixin.S3IdentifierProperty.Builder s3BucketName(String s3BucketName) Sets the value ofCfnAgentPropsMixin.S3IdentifierProperty.getS3BucketName()- Parameters:
s3BucketName- The name of the S3 bucket.- Returns:
this
-
s3ObjectKey
@Stability(Stable) public CfnAgentPropsMixin.S3IdentifierProperty.Builder s3ObjectKey(String s3ObjectKey) Sets the value ofCfnAgentPropsMixin.S3IdentifierProperty.getS3ObjectKey()- Parameters:
s3ObjectKey- The S3 object key for the S3 resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin.S3IdentifierProperty>- Returns:
- a new instance of
CfnAgentPropsMixin.S3IdentifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-