Interface StreamBucketConfig.Builder

  • Method Details

    • bucket

      The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.

      Parameters:
      bucket - The name or Amazon Resource Name (ARN) of the Amazon S3 bucket to ingest data from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketOwnerAccountId

      StreamBucketConfig.Builder bucketOwnerAccountId(String bucketOwnerAccountId)

      The AWS account ID that owns the S3 bucket. Optional. If omitted, the control plane derives it from the account segment of sqsArn.

      Parameters:
      bucketOwnerAccountId - The AWS account ID that owns the S3 bucket. Optional. If omitted, the control plane derives it from the account segment of sqsArn.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initialScan

      StreamBucketConfig.Builder initialScan(String initialScan)

      Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If DISABLED, only new objects are ingested.

      Parameters:
      initialScan - Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If DISABLED, only new objects are ingested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initialScan

      StreamBucketConfig.Builder initialScan(InitialScan initialScan)

      Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If DISABLED, only new objects are ingested.

      Parameters:
      initialScan - Specifies whether to perform a one-time scan of the objects that already exist in the bucket before the stream begins processing Amazon S3 event notifications. If DISABLED, only new objects are ingested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: