Struct aws_sdk_personalize::output::list_datasets_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListDatasetsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn datasets(self, input: DatasetSummary) -> Self
pub fn datasets(self, input: DatasetSummary) -> Self
Appends an item to datasets
.
To override the contents of this collection use set_datasets
.
An array of Dataset
objects. Each object provides metadata information.
sourcepub fn set_datasets(self, input: Option<Vec<DatasetSummary>>) -> Self
pub fn set_datasets(self, input: Option<Vec<DatasetSummary>>) -> Self
An array of Dataset
objects. Each object provides metadata information.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token for getting the next set of datasets (if they exist).
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token for getting the next set of datasets (if they exist).
sourcepub fn build(self) -> ListDatasetsOutput
pub fn build(self) -> ListDatasetsOutput
Consumes the builder and constructs a ListDatasetsOutput
.