Struct aws_sdk_datazone::operation::list_data_source_runs::builders::ListDataSourceRunsOutputBuilder
source · #[non_exhaustive]pub struct ListDataSourceRunsOutputBuilder { /* private fields */ }
Expand description
A builder for ListDataSourceRunsOutput
.
Implementations§
source§impl ListDataSourceRunsOutputBuilder
impl ListDataSourceRunsOutputBuilder
sourcepub fn items(self, input: DataSourceRunSummary) -> Self
pub fn items(self, input: DataSourceRunSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The results of the ListDataSourceRuns
action.
sourcepub fn set_items(self, input: Option<Vec<DataSourceRunSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<DataSourceRunSummary>>) -> Self
The results of the ListDataSourceRuns
action.
sourcepub fn get_items(&self) -> &Option<Vec<DataSourceRunSummary>>
pub fn get_items(&self) -> &Option<Vec<DataSourceRunSummary>>
The results of the ListDataSourceRuns
action.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of runs is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of runs, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRuns
to list the next set of runs.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of runs is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of runs, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRuns
to list the next set of runs.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of runs is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of runs, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSourceRuns
to list the next set of runs.
sourcepub fn build(self) -> ListDataSourceRunsOutput
pub fn build(self) -> ListDataSourceRunsOutput
Consumes the builder and constructs a ListDataSourceRunsOutput
.
Trait Implementations§
source§impl Clone for ListDataSourceRunsOutputBuilder
impl Clone for ListDataSourceRunsOutputBuilder
source§fn clone(&self) -> ListDataSourceRunsOutputBuilder
fn clone(&self) -> ListDataSourceRunsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListDataSourceRunsOutputBuilder
impl Default for ListDataSourceRunsOutputBuilder
source§fn default() -> ListDataSourceRunsOutputBuilder
fn default() -> ListDataSourceRunsOutputBuilder
source§impl PartialEq for ListDataSourceRunsOutputBuilder
impl PartialEq for ListDataSourceRunsOutputBuilder
source§fn eq(&self, other: &ListDataSourceRunsOutputBuilder) -> bool
fn eq(&self, other: &ListDataSourceRunsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.