Struct aws_sdk_sagemaker::model::data_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DataSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn s3_data_source(self, input: S3DataSource) -> Self
pub fn s3_data_source(self, input: S3DataSource) -> Self
The S3 location of the data source that is associated with a channel.
sourcepub fn set_s3_data_source(self, input: Option<S3DataSource>) -> Self
pub fn set_s3_data_source(self, input: Option<S3DataSource>) -> Self
The S3 location of the data source that is associated with a channel.
sourcepub fn file_system_data_source(self, input: FileSystemDataSource) -> Self
pub fn file_system_data_source(self, input: FileSystemDataSource) -> Self
The file system that is associated with a channel.
sourcepub fn set_file_system_data_source(
self,
input: Option<FileSystemDataSource>
) -> Self
pub fn set_file_system_data_source(
self,
input: Option<FileSystemDataSource>
) -> Self
The file system that is associated with a channel.
sourcepub fn build(self) -> DataSource
pub fn build(self) -> DataSource
Consumes the builder and constructs a DataSource
.