Struct aws_sdk_devopsguru::operation::list_recommendations::builders::ListRecommendationsInputBuilder
source · #[non_exhaustive]pub struct ListRecommendationsInputBuilder { /* private fields */ }
Expand description
A builder for ListRecommendationsInput
.
Implementations§
source§impl ListRecommendationsInputBuilder
impl ListRecommendationsInputBuilder
sourcepub fn insight_id(self, input: impl Into<String>) -> Self
pub fn insight_id(self, input: impl Into<String>) -> Self
The ID of the requested insight.
This field is required.sourcepub fn set_insight_id(self, input: Option<String>) -> Self
pub fn set_insight_id(self, input: Option<String>) -> Self
The ID of the requested insight.
sourcepub fn get_insight_id(&self) -> &Option<String>
pub fn get_insight_id(&self) -> &Option<String>
The ID of the requested insight.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
sourcepub fn locale(self, input: Locale) -> Self
pub fn locale(self, input: Locale) -> Self
A locale that specifies the language to use for recommendations.
sourcepub fn set_locale(self, input: Option<Locale>) -> Self
pub fn set_locale(self, input: Option<Locale>) -> Self
A locale that specifies the language to use for recommendations.
sourcepub fn get_locale(&self) -> &Option<Locale>
pub fn get_locale(&self) -> &Option<Locale>
A locale that specifies the language to use for recommendations.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The ID of the Amazon Web Services account.
sourcepub fn build(self) -> Result<ListRecommendationsInput, BuildError>
pub fn build(self) -> Result<ListRecommendationsInput, BuildError>
Consumes the builder and constructs a ListRecommendationsInput
.
source§impl ListRecommendationsInputBuilder
impl ListRecommendationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListRecommendationsOutput, SdkError<ListRecommendationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListRecommendationsOutput, SdkError<ListRecommendationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListRecommendationsInputBuilder
impl Clone for ListRecommendationsInputBuilder
source§fn clone(&self) -> ListRecommendationsInputBuilder
fn clone(&self) -> ListRecommendationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListRecommendationsInputBuilder
impl Default for ListRecommendationsInputBuilder
source§fn default() -> ListRecommendationsInputBuilder
fn default() -> ListRecommendationsInputBuilder
source§impl PartialEq for ListRecommendationsInputBuilder
impl PartialEq for ListRecommendationsInputBuilder
source§fn eq(&self, other: &ListRecommendationsInputBuilder) -> bool
fn eq(&self, other: &ListRecommendationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.