public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
Modifier and Type | Method and Description |
---|---|
DataSource.Builder |
name(String name)
The name of the data source.
|
DataSource.Builder |
s3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
|
DataSource.Builder |
s3Keys(Collection<S3KeyOutput> s3Keys)
The list of S3 keys identifying the data source files.
|
DataSource.Builder |
s3Keys(Consumer<S3KeyOutput.Builder>... s3Keys)
The list of S3 keys identifying the data source files.
|
DataSource.Builder |
s3Keys(S3KeyOutput... s3Keys)
The list of S3 keys identifying the data source files.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DataSource.Builder name(String name)
The name of the data source.
name
- The name of the data source.DataSource.Builder s3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
s3Bucket
- The S3 bucket where the data files are located.DataSource.Builder s3Keys(Collection<S3KeyOutput> s3Keys)
The list of S3 keys identifying the data source files.
s3Keys
- The list of S3 keys identifying the data source files.DataSource.Builder s3Keys(S3KeyOutput... s3Keys)
The list of S3 keys identifying the data source files.
s3Keys
- The list of S3 keys identifying the data source files.DataSource.Builder s3Keys(Consumer<S3KeyOutput.Builder>... s3Keys)
The list of S3 keys identifying the data source files.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #s3Keys(List)
.s3Keys
- a consumer that will call methods on List.Builder
#s3Keys(List)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.