Interface S3SourceConfiguration.Builder

  • Method Details

    • bucketOwnerAccountId

      S3SourceConfiguration.Builder bucketOwnerAccountId(String bucketOwnerAccountId)

      The ID of the Amazon Web Services account that owns the source bucket. The registry checks that the bucket belongs to this account each time it reads the source. If you omit it for a source that uses an IAM role, the registry expects the bucket to be in the role's account. If you omit it for a source that has no credential provider, which the registry reads as a public object, the request fails with a ValidationException.

      Parameters:
      bucketOwnerAccountId - The ID of the Amazon Web Services account that owns the source bucket. The registry checks that the bucket belongs to this account each time it reads the source. If you omit it for a source that uses an IAM role, the registry expects the bucket to be in the role's account. If you omit it for a source that has no credential provider, which the registry reads as a public object, the request fails with a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.