Interface S3ConnectionConfig.Builder

  • Method Details

    • sourceUri

      S3ConnectionConfig.Builder sourceUri(String sourceUri)

      The S3 URI of the bucket or prefix, for example s3://amzn-s3-demo-bucket/compliance/. The bucket must be in the same AWS Region as the governance environment.

      Parameters:
      sourceUri - The S3 URI of the bucket or prefix, for example s3://amzn-s3-demo-bucket/compliance/. The bucket must be in the same AWS Region as the governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedBucketOwner

      S3ConnectionConfig.Builder expectedBucketOwner(String expectedBucketOwner)

      The ID of the AWS account that must own the bucket. Required for a bucket in another account. AWS Assurance sends this value with each request to the bucket, and the request fails if a different account owns the bucket.

      Parameters:
      expectedBucketOwner - The ID of the AWS account that must own the bucket. Required for a bucket in another account. AWS Assurance sends this value with each request to the bucket, and the request fails if a different account owns the bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.