Interface ResourceDataSyncS3Destination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>,SdkBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>,SdkPojo
- Enclosing class:
- ResourceDataSyncS3Destination
public static interface ResourceDataSyncS3Destination.Builder extends SdkPojo, CopyableBuilder<ResourceDataSyncS3Destination.Builder,ResourceDataSyncS3Destination>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bucketName
ResourceDataSyncS3Destination.Builder bucketName(String 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
ResourceDataSyncS3Destination.Builder prefix(String 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
ResourceDataSyncS3Destination.Builder syncFormat(String 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:
ResourceDataSyncS3Format,ResourceDataSyncS3Format
-
syncFormat
ResourceDataSyncS3Destination.Builder syncFormat(ResourceDataSyncS3Format 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:
ResourceDataSyncS3Format,ResourceDataSyncS3Format
-
region
ResourceDataSyncS3Destination.Builder region(String 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
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.
- 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:
destinationDataSharing(ResourceDataSyncDestinationDataSharing)
-
-