Struct aws_sdk_computeoptimizer::operation::get_recommendation_summaries::builders::GetRecommendationSummariesOutputBuilder
source · #[non_exhaustive]pub struct GetRecommendationSummariesOutputBuilder { /* private fields */ }Expand description
A builder for GetRecommendationSummariesOutput.
Implementations§
source§impl GetRecommendationSummariesOutputBuilder
impl GetRecommendationSummariesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
sourcepub fn recommendation_summaries(self, input: RecommendationSummary) -> Self
pub fn recommendation_summaries(self, input: RecommendationSummary) -> Self
Appends an item to recommendation_summaries.
To override the contents of this collection use set_recommendation_summaries.
An array of objects that summarize a recommendation.
sourcepub fn set_recommendation_summaries(
self,
input: Option<Vec<RecommendationSummary>>
) -> Self
pub fn set_recommendation_summaries( self, input: Option<Vec<RecommendationSummary>> ) -> Self
An array of objects that summarize a recommendation.
sourcepub fn get_recommendation_summaries(
&self
) -> &Option<Vec<RecommendationSummary>>
pub fn get_recommendation_summaries( &self ) -> &Option<Vec<RecommendationSummary>>
An array of objects that summarize a recommendation.
sourcepub fn build(self) -> GetRecommendationSummariesOutput
pub fn build(self) -> GetRecommendationSummariesOutput
Consumes the builder and constructs a GetRecommendationSummariesOutput.
Trait Implementations§
source§impl Clone for GetRecommendationSummariesOutputBuilder
impl Clone for GetRecommendationSummariesOutputBuilder
source§fn clone(&self) -> GetRecommendationSummariesOutputBuilder
fn clone(&self) -> GetRecommendationSummariesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetRecommendationSummariesOutputBuilder
impl Default for GetRecommendationSummariesOutputBuilder
source§fn default() -> GetRecommendationSummariesOutputBuilder
fn default() -> GetRecommendationSummariesOutputBuilder
source§impl PartialEq for GetRecommendationSummariesOutputBuilder
impl PartialEq for GetRecommendationSummariesOutputBuilder
source§fn eq(&self, other: &GetRecommendationSummariesOutputBuilder) -> bool
fn eq(&self, other: &GetRecommendationSummariesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.