Struct aws_sdk_appsync::input::list_data_sources_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListDataSourcesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API ID.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier that was returned from the previous call to this operation, which you can use 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 that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results that you want the request to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results that you want the request to return.
sourcepub fn build(self) -> Result<ListDataSourcesInput, BuildError>
pub fn build(self) -> Result<ListDataSourcesInput, BuildError>
Consumes the builder and constructs a ListDataSourcesInput
.