Interface S3ConnectionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3ConnectionConfig.Builder,,S3ConnectionConfig> SdkBuilder<S3ConnectionConfig.Builder,,S3ConnectionConfig> SdkPojo
- Enclosing class:
S3ConnectionConfig
@Mutable
@NotThreadSafe
public static interface S3ConnectionConfig.Builder
extends SdkPojo, CopyableBuilder<S3ConnectionConfig.Builder,S3ConnectionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionexpectedBucketOwner(String expectedBucketOwner) The ID of the AWS account that must own the bucket.The S3 URI of the bucket or prefix, for examples3://amzn-s3-demo-bucket/compliance/.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 examples3://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
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.
-