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 Details

    • create

      @Stability(Stable) public static S3ToolSchema.Builder create(String bucketOwnerAccountId)
      Parameters:
      bucketOwnerAccountId - The account ID of the S3 bucket owner for cross-account access.
      Returns:
      a new instance of S3ToolSchema.Builder.
    • create

      @Stability(Stable) public static S3ToolSchema.Builder create()
      Returns:
      a new instance of S3ToolSchema.Builder.
    • bucketName

      @Stability(Stable) public S3ToolSchema.Builder bucketName(String 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

      @Stability(Stable) public S3ToolSchema.Builder objectKey(String 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

      @Stability(Stable) public S3ToolSchema.Builder objectVersion(String objectVersion)
      The S3 object version.

      Parameters:
      objectVersion - The S3 object version. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public S3ToolSchema build()
      Specified by:
      build in interface software.amazon.jsii.Builder<S3ToolSchema>
      Returns:
      a newly built instance of S3ToolSchema.