Interface Destination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Destination.Builder,
,Destination> SdkBuilder<Destination.Builder,
,Destination> SdkPojo
- Enclosing class:
Destination
@Mutable
@NotThreadSafe
public static interface Destination.Builder
extends SdkPojo, CopyableBuilder<Destination.Builder,Destination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Destination.Builder
s3Destination
(Consumer<S3DestinationConfig.Builder> s3Destination) The configuration for exporting harvested content to an S3 bucket.s3Destination
(S3DestinationConfig s3Destination) The configuration for exporting harvested content to an S3 bucket.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 Details
-
s3Destination
The configuration for exporting harvested content to an S3 bucket. This includes details such as the bucket name and destination path within the bucket.
- Parameters:
s3Destination
- The configuration for exporting harvested content to an S3 bucket. This includes details such as the bucket name and destination path within the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
The configuration for exporting harvested content to an S3 bucket. This includes details such as the bucket name and destination path within the bucket.
This is a convenience method that creates an instance of theS3DestinationConfig.Builder
avoiding the need to create one manually viaS3DestinationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Destination(S3DestinationConfig)
.- Parameters:
s3Destination
- a consumer that will call methods onS3DestinationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-