#[non_exhaustive]pub struct ListRecipesInputBuilder { /* private fields */ }Expand description
A builder for ListRecipesInput.
Implementations§
source§impl ListRecipesInputBuilder
impl ListRecipesInputBuilder
sourcepub fn recipe_provider(self, input: RecipeProvider) -> Self
pub fn recipe_provider(self, input: RecipeProvider) -> Self
The default is SERVICE.
sourcepub fn set_recipe_provider(self, input: Option<RecipeProvider>) -> Self
pub fn set_recipe_provider(self, input: Option<RecipeProvider>) -> Self
The default is SERVICE.
sourcepub fn get_recipe_provider(&self) -> &Option<RecipeProvider>
pub fn get_recipe_provider(&self) -> &Option<RecipeProvider>
The default is SERVICE.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from the previous call to ListRecipes for getting the next set of recipes (if they exist).
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from the previous call to ListRecipes for getting the next set of recipes (if they exist).
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from the previous call to ListRecipes for getting the next set of recipes (if they exist).
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of recipes 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 recipes to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of recipes to return.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
sourcepub fn get_domain(&self) -> &Option<Domain>
pub fn get_domain(&self) -> &Option<Domain>
Filters returned recipes by domain for a Domain dataset group. Only recipes (Domain dataset group use cases) for this domain are included in the response. If you don't specify a domain, all recipes are returned.
sourcepub fn build(self) -> Result<ListRecipesInput, BuildError>
pub fn build(self) -> Result<ListRecipesInput, BuildError>
Consumes the builder and constructs a ListRecipesInput.
source§impl ListRecipesInputBuilder
impl ListRecipesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListRecipesOutput, SdkError<ListRecipesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListRecipesOutput, SdkError<ListRecipesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListRecipesInputBuilder
impl Clone for ListRecipesInputBuilder
source§fn clone(&self) -> ListRecipesInputBuilder
fn clone(&self) -> ListRecipesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListRecipesInputBuilder
impl Debug for ListRecipesInputBuilder
source§impl Default for ListRecipesInputBuilder
impl Default for ListRecipesInputBuilder
source§fn default() -> ListRecipesInputBuilder
fn default() -> ListRecipesInputBuilder
source§impl PartialEq for ListRecipesInputBuilder
impl PartialEq for ListRecipesInputBuilder
source§fn eq(&self, other: &ListRecipesInputBuilder) -> bool
fn eq(&self, other: &ListRecipesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.