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