Struct aws_sdk_personalize::model::data_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DataSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn data_location(self, input: impl Into<String>) -> Self
pub fn data_location(self, input: impl Into<String>) -> Self
The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example:
s3://bucket-name/folder-name/
sourcepub fn set_data_location(self, input: Option<String>) -> Self
pub fn set_data_location(self, input: Option<String>) -> Self
The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example:
s3://bucket-name/folder-name/
sourcepub fn build(self) -> DataSource
pub fn build(self) -> DataSource
Consumes the builder and constructs a DataSource
.