Interface ResourceDataSyncS3Destination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceDataSyncS3Destination.Builder,,ResourceDataSyncS3Destination> SdkBuilder<ResourceDataSyncS3Destination.Builder,,ResourceDataSyncS3Destination> SdkPojo
- Enclosing class:
ResourceDataSyncS3Destination
-
Method Summary
Modifier and TypeMethodDescriptionawskmsKeyARN(String awskmsKeyARN) The ARN of an encryption key for a destination in Amazon S3.bucketName(String bucketName) The name of the S3 bucket where the aggregated data is stored.destinationDataSharing(Consumer<ResourceDataSyncDestinationDataSharing.Builder> destinationDataSharing) Enables destination data sharing.destinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing) Enables destination data sharing.An Amazon S3 prefix for the bucket.The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.syncFormat(String syncFormat) A supported sync format.syncFormat(ResourceDataSyncS3Format syncFormat) A supported sync format.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
-
bucketName
The name of the S3 bucket where the aggregated data is stored.
- Parameters:
bucketName- The name of the S3 bucket where the aggregated data is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
An Amazon S3 prefix for the bucket.
- Parameters:
prefix- An Amazon S3 prefix for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncFormat
A supported sync format. The following format is currently supported: JsonSerDe
- Parameters:
syncFormat- A supported sync format. The following format is currently supported: JsonSerDe- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
syncFormat
A supported sync format. The following format is currently supported: JsonSerDe
- Parameters:
syncFormat- A supported sync format. The following format is currently supported: JsonSerDe- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
region
The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
- Parameters:
region- The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awskmsKeyARN
The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
- Parameters:
awskmsKeyARN- The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDataSharing
ResourceDataSyncS3Destination.Builder destinationDataSharing(ResourceDataSyncDestinationDataSharing destinationDataSharing) Enables destination data sharing. By default, this field is
null.- Parameters:
destinationDataSharing- Enables destination data sharing. By default, this field isnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDataSharing
default ResourceDataSyncS3Destination.Builder destinationDataSharing(Consumer<ResourceDataSyncDestinationDataSharing.Builder> destinationDataSharing) Enables destination data sharing. By default, this field is
This is a convenience method that creates an instance of thenull.ResourceDataSyncDestinationDataSharing.Builderavoiding the need to create one manually viaResourceDataSyncDestinationDataSharing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationDataSharing(ResourceDataSyncDestinationDataSharing).- Parameters:
destinationDataSharing- a consumer that will call methods onResourceDataSyncDestinationDataSharing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-