public static interface ResourceDataSyncS3Destination.Builder extends SdkPojo, CopyableBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>
equalsBySdkFields, sdkFields
copy
applyMutation, build
ResourceDataSyncS3Destination.Builder bucketName(String bucketName)
The name of the S3 bucket where the aggregated data is stored.
bucketName
- The name of the S3 bucket where the aggregated data is stored.ResourceDataSyncS3Destination.Builder prefix(String prefix)
An Amazon S3 prefix for the bucket.
prefix
- An Amazon S3 prefix for the bucket.ResourceDataSyncS3Destination.Builder syncFormat(String syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
,
ResourceDataSyncS3Format
ResourceDataSyncS3Destination.Builder syncFormat(ResourceDataSyncS3Format syncFormat)
A supported sync format. The following format is currently supported: JsonSerDe
syncFormat
- A supported sync format. The following format is currently supported: JsonSerDeResourceDataSyncS3Format
,
ResourceDataSyncS3Format
ResourceDataSyncS3Destination.Builder region(String region)
The AWS Region with the S3 bucket targeted by the Resource Data Sync.
region
- The AWS Region with the S3 bucket targeted by the Resource Data Sync.ResourceDataSyncS3Destination.Builder awskmsKeyARN(String awskmsKeyARN)
The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
awskmsKeyARN
- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the
destination S3 bucket.ResourceDataSyncS3Destination.Builder destinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing)
Enables destination data sharing. By default, this field is null
.
destinationDataSharing
- Enables destination data sharing. By default, this field is null
.default ResourceDataSyncS3Destination.Builder destinationDataSharing(Consumer<ResourceDataSyncDestinationDataSharing.Builder> destinationDataSharing)
Enables destination data sharing. By default, this field is null
.
ResourceDataSyncDestinationDataSharing.Builder
avoiding the need to create one manually via ResourceDataSyncDestinationDataSharing.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
destinationDataSharing(ResourceDataSyncDestinationDataSharing)
.destinationDataSharing
- a consumer that will call methods on ResourceDataSyncDestinationDataSharing.Builder
destinationDataSharing(ResourceDataSyncDestinationDataSharing)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.