Struct aws_sdk_appsync::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 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 get_data_sources(&self) -> &Option<Vec<DataSource>>
pub fn get_data_sources(&self) -> &Option<Vec<DataSource>>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for ListDataSourcesOutputBuilder
impl Clone for ListDataSourcesOutputBuilder
source§fn clone(&self) -> ListDataSourcesOutputBuilder
fn clone(&self) -> ListDataSourcesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for ListDataSourcesOutputBuilder
impl PartialEq for ListDataSourcesOutputBuilder
source§fn eq(&self, other: &ListDataSourcesOutputBuilder) -> bool
fn eq(&self, other: &ListDataSourcesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDataSourcesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDataSourcesOutputBuilder
impl Send for ListDataSourcesOutputBuilder
impl Sync for ListDataSourcesOutputBuilder
impl Unpin for ListDataSourcesOutputBuilder
impl UnwindSafe for ListDataSourcesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.