Struct aws_sdk_trustedadvisor::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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
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 to return per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per page.
sourcepub fn type(self, input: RecommendationType) -> Self
pub fn type(self, input: RecommendationType) -> Self
The type of the Recommendation
sourcepub fn set_type(self, input: Option<RecommendationType>) -> Self
pub fn set_type(self, input: Option<RecommendationType>) -> Self
The type of the Recommendation
sourcepub fn get_type(&self) -> &Option<RecommendationType>
pub fn get_type(&self) -> &Option<RecommendationType>
The type of the Recommendation
sourcepub fn status(self, input: RecommendationStatus) -> Self
pub fn status(self, input: RecommendationStatus) -> Self
The status of the Recommendation
sourcepub fn set_status(self, input: Option<RecommendationStatus>) -> Self
pub fn set_status(self, input: Option<RecommendationStatus>) -> Self
The status of the Recommendation
sourcepub fn get_status(&self) -> &Option<RecommendationStatus>
pub fn get_status(&self) -> &Option<RecommendationStatus>
The status of the Recommendation
sourcepub fn pillar(self, input: RecommendationPillar) -> Self
pub fn pillar(self, input: RecommendationPillar) -> Self
The pillar of the Recommendation
sourcepub fn set_pillar(self, input: Option<RecommendationPillar>) -> Self
pub fn set_pillar(self, input: Option<RecommendationPillar>) -> Self
The pillar of the Recommendation
sourcepub fn get_pillar(&self) -> &Option<RecommendationPillar>
pub fn get_pillar(&self) -> &Option<RecommendationPillar>
The pillar of the Recommendation
sourcepub fn aws_service(self, input: impl Into<String>) -> Self
pub fn aws_service(self, input: impl Into<String>) -> Self
The aws service associated with the Recommendation
sourcepub fn set_aws_service(self, input: Option<String>) -> Self
pub fn set_aws_service(self, input: Option<String>) -> Self
The aws service associated with the Recommendation
sourcepub fn get_aws_service(&self) -> &Option<String>
pub fn get_aws_service(&self) -> &Option<String>
The aws service associated with the Recommendation
sourcepub fn source(self, input: RecommendationSource) -> Self
pub fn source(self, input: RecommendationSource) -> Self
The source of the Recommendation
sourcepub fn set_source(self, input: Option<RecommendationSource>) -> Self
pub fn set_source(self, input: Option<RecommendationSource>) -> Self
The source of the Recommendation
sourcepub fn get_source(&self) -> &Option<RecommendationSource>
pub fn get_source(&self) -> &Option<RecommendationSource>
The source of the Recommendation
sourcepub fn check_identifier(self, input: impl Into<String>) -> Self
pub fn check_identifier(self, input: impl Into<String>) -> Self
The check identifier of the Recommendation
sourcepub fn set_check_identifier(self, input: Option<String>) -> Self
pub fn set_check_identifier(self, input: Option<String>) -> Self
The check identifier of the Recommendation
sourcepub fn get_check_identifier(&self) -> &Option<String>
pub fn get_check_identifier(&self) -> &Option<String>
The check identifier of the Recommendation
sourcepub fn after_last_updated_at(self, input: DateTime) -> Self
pub fn after_last_updated_at(self, input: DateTime) -> Self
After the last update of the Recommendation
sourcepub fn set_after_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_after_last_updated_at(self, input: Option<DateTime>) -> Self
After the last update of the Recommendation
sourcepub fn get_after_last_updated_at(&self) -> &Option<DateTime>
pub fn get_after_last_updated_at(&self) -> &Option<DateTime>
After the last update of the Recommendation
sourcepub fn before_last_updated_at(self, input: DateTime) -> Self
pub fn before_last_updated_at(self, input: DateTime) -> Self
Before the last update of the Recommendation
sourcepub fn set_before_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_before_last_updated_at(self, input: Option<DateTime>) -> Self
Before the last update of the Recommendation
sourcepub fn get_before_last_updated_at(&self) -> &Option<DateTime>
pub fn get_before_last_updated_at(&self) -> &Option<DateTime>
Before the last update of the Recommendation
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 ==
.