Interface DataDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataDestination.Builder,
,DataDestination> SdkBuilder<DataDestination.Builder,
,DataDestination> SdkPojo
- Enclosing class:
DataDestination
@Mutable
@NotThreadSafe
public static interface DataDestination.Builder
extends SdkPojo, CopyableBuilder<DataDestination.Builder,DataDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataDestination.Builder
s3Config
(Consumer<S3Config.Builder> s3Config) The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the 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
-
s3Config
The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.
- Parameters:
s3Config
- The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Config
The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.
This is a convenience method that creates an instance of theS3Config.Builder
avoiding the need to create one manually viaS3Config.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Config(S3Config)
.- Parameters:
s3Config
- a consumer that will call methods onS3Config.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-