Interface DataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSource.Builder,
,DataSource> SdkBuilder<DataSource.Builder,
,DataSource> SdkPojo
- Enclosing class:
DataSource
public static interface DataSource.Builder
extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataSource.Builder
s3Config
(Consumer<S3Config.Builder> s3Config) The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.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, sdkFields
-
Method Details
-
s3Config
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
- Parameters:
s3Config
- The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Config
The path to the data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
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:
-