public static interface DataSource.Builder extends SdkPojo, CopyableBuilder<DataSource.Builder,DataSource>
| Modifier and Type | Method and Description |
|---|---|
default DataSource.Builder |
fileSystemDataSource(Consumer<FileSystemDataSource.Builder> fileSystemDataSource)
The file system that is associated with a channel.
|
DataSource.Builder |
fileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
|
default DataSource.Builder |
s3DataSource(Consumer<S3DataSource.Builder> s3DataSource)
The S3 location of the data source that is associated with a channel.
|
DataSource.Builder |
s3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataSource.Builder s3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
s3DataSource - The S3 location of the data source that is associated with a channel.default DataSource.Builder s3DataSource(Consumer<S3DataSource.Builder> s3DataSource)
The S3 location of the data source that is associated with a channel.
This is a convenience method that creates an instance of theS3DataSource.Builder avoiding the need
to create one manually via S3DataSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to s3DataSource(S3DataSource).
s3DataSource - a consumer that will call methods on S3DataSource.Builders3DataSource(S3DataSource)DataSource.Builder fileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
fileSystemDataSource - The file system that is associated with a channel.default DataSource.Builder fileSystemDataSource(Consumer<FileSystemDataSource.Builder> fileSystemDataSource)
The file system that is associated with a channel.
This is a convenience method that creates an instance of theFileSystemDataSource.Builder avoiding
the need to create one manually via FileSystemDataSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to fileSystemDataSource(FileSystemDataSource).
fileSystemDataSource - a consumer that will call methods on FileSystemDataSource.BuilderfileSystemDataSource(FileSystemDataSource)Copyright © 2023. All rights reserved.