Struct aws_sdk_forecast::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 objects that summarize each dataset's properties.
sourcepub fn set_datasets(self, input: Option<Vec<DatasetSummary>>) -> Self
pub fn set_datasets(self, input: Option<Vec<DatasetSummary>>) -> Self
An array of objects that summarize each dataset's properties.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
sourcepub fn build(self) -> ListDatasetsOutput
pub fn build(self) -> ListDatasetsOutput
Consumes the builder and constructs a ListDatasetsOutput.