Struct aws_sdk_databrew::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: Dataset) -> Self
pub fn datasets(self, input: Dataset) -> Self
Appends an item to datasets
.
To override the contents of this collection use set_datasets
.
A list of datasets that are defined.
sourcepub fn set_datasets(self, input: Option<Vec<Dataset>>) -> Self
pub fn set_datasets(self, input: Option<Vec<Dataset>>) -> Self
A list of datasets that are defined.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that you can use in a subsequent call to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that you can use in a subsequent call to retrieve the next set of results.
sourcepub fn build(self) -> ListDatasetsOutput
pub fn build(self) -> ListDatasetsOutput
Consumes the builder and constructs a ListDatasetsOutput
.