Class S3ApiSchema.Builder

java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.S3ApiSchema.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<S3ApiSchema>
Enclosing class:
S3ApiSchema

@Stability(Stable) public static final class S3ApiSchema.Builder extends Object implements software.amazon.jsii.Builder<S3ApiSchema>
A fluent builder for S3ApiSchema.
  • Method Details

    • create

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

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

      @Stability(Stable) public S3ApiSchema.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 S3ApiSchema.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 S3ApiSchema.Builder objectVersion(String objectVersion)
      The S3 object version.

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

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