Struct aws_sdk_appsync::output::list_data_sources_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListDataSourcesOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn data_sources(self, input: DataSource) -> Self
pub fn data_sources(self, input: DataSource) -> Self
Appends an item to data_sources
.
To override the contents of this collection use set_data_sources
.
The DataSource
objects.
sourcepub fn set_data_sources(self, input: Option<Vec<DataSource>>) -> Self
pub fn set_data_sources(self, input: Option<Vec<DataSource>>) -> Self
The DataSource
objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier to pass in the next request to this operation to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier to pass in the next request to this operation to return the next set of items in the list.
sourcepub fn build(self) -> ListDataSourcesOutput
pub fn build(self) -> ListDataSourcesOutput
Consumes the builder and constructs a ListDataSourcesOutput
.