Struct aws_sdk_datazone::operation::list_data_sources::builders::ListDataSourcesOutputBuilder
source · #[non_exhaustive]pub struct ListDataSourcesOutputBuilder { /* private fields */ }
Expand description
A builder for ListDataSourcesOutput
.
Implementations§
source§impl ListDataSourcesOutputBuilder
impl ListDataSourcesOutputBuilder
sourcepub fn items(self, input: DataSourceSummary) -> Self
pub fn items(self, input: DataSourceSummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The results of the ListDataSources
action.
sourcepub fn set_items(self, input: Option<Vec<DataSourceSummary>>) -> Self
pub fn set_items(self, input: Option<Vec<DataSourceSummary>>) -> Self
The results of the ListDataSources
action.
sourcepub fn get_items(&self) -> &Option<Vec<DataSourceSummary>>
pub fn get_items(&self) -> &Option<Vec<DataSourceSummary>>
The results of the ListDataSources
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 data sources 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 data sources, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSources
to list the next set of data sources.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of data sources 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 data sources, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSources
to list the next set of data sources.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of data sources 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 data sources, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListDataSources
to list the next set of data sources.
sourcepub fn build(self) -> Result<ListDataSourcesOutput, BuildError>
pub fn build(self) -> Result<ListDataSourcesOutput, BuildError>
Consumes the builder and constructs a ListDataSourcesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListDataSourcesOutputBuilder
impl Clone for ListDataSourcesOutputBuilder
source§fn clone(&self) -> ListDataSourcesOutputBuilder
fn clone(&self) -> ListDataSourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDataSourcesOutputBuilder
impl Debug for ListDataSourcesOutputBuilder
source§impl Default for ListDataSourcesOutputBuilder
impl Default for ListDataSourcesOutputBuilder
source§fn default() -> ListDataSourcesOutputBuilder
fn default() -> ListDataSourcesOutputBuilder
source§impl PartialEq for ListDataSourcesOutputBuilder
impl PartialEq for ListDataSourcesOutputBuilder
source§fn eq(&self, other: &ListDataSourcesOutputBuilder) -> bool
fn eq(&self, other: &ListDataSourcesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.