Class S3ToolSchema.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.S3ToolSchema.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3ToolSchema>
- Enclosing class:
S3ToolSchema
@Stability(Stable)
public static final class S3ToolSchema.Builder
extends Object
implements software.amazon.jsii.Builder<S3ToolSchema>
A fluent builder for
S3ToolSchema.-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of the S3 Bucket the object is in.build()static S3ToolSchema.Buildercreate()static S3ToolSchema.BuilderThe path inside the Bucket where the object is located at.objectVersion(String objectVersion) The S3 object version.
-
Method Details
-
create
- Parameters:
bucketOwnerAccountId- The account ID of the S3 bucket owner for cross-account access.- Returns:
- a new instance of
S3ToolSchema.Builder.
-
create
- Returns:
- a new instance of
S3ToolSchema.Builder.
-
bucketName
The name of the S3 Bucket the object is in.- Parameters:
bucketName- The name of the S3 Bucket the object is in. This parameter is required.- Returns:
this
-
objectKey
The path inside the Bucket where the object is located at.- Parameters:
objectKey- The path inside the Bucket where the object is located at. This parameter is required.- Returns:
this
-
objectVersion
The S3 object version.- Parameters:
objectVersion- The S3 object version. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3ToolSchema>- Returns:
- a newly built instance of
S3ToolSchema.
-