Struct aws_sdk_computeoptimizer::operation::get_recommendation_preferences::builders::GetRecommendationPreferencesOutputBuilder
source · #[non_exhaustive]pub struct GetRecommendationPreferencesOutputBuilder { /* private fields */ }
Expand description
A builder for GetRecommendationPreferencesOutput
.
Implementations§
source§impl GetRecommendationPreferencesOutputBuilder
impl GetRecommendationPreferencesOutputBuilder
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 preferences.
This value is null when there are no more pages of recommendation preferences 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 preferences.
This value is null when there are no more pages of recommendation preferences 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 preferences.
This value is null when there are no more pages of recommendation preferences to return.
sourcepub fn recommendation_preferences_details(
self,
input: RecommendationPreferencesDetail
) -> Self
pub fn recommendation_preferences_details( self, input: RecommendationPreferencesDetail ) -> Self
Appends an item to recommendation_preferences_details
.
To override the contents of this collection use set_recommendation_preferences_details
.
An array of objects that describe recommendation preferences.
sourcepub fn set_recommendation_preferences_details(
self,
input: Option<Vec<RecommendationPreferencesDetail>>
) -> Self
pub fn set_recommendation_preferences_details( self, input: Option<Vec<RecommendationPreferencesDetail>> ) -> Self
An array of objects that describe recommendation preferences.
sourcepub fn get_recommendation_preferences_details(
&self
) -> &Option<Vec<RecommendationPreferencesDetail>>
pub fn get_recommendation_preferences_details( &self ) -> &Option<Vec<RecommendationPreferencesDetail>>
An array of objects that describe recommendation preferences.
sourcepub fn build(self) -> GetRecommendationPreferencesOutput
pub fn build(self) -> GetRecommendationPreferencesOutput
Consumes the builder and constructs a GetRecommendationPreferencesOutput
.
Trait Implementations§
source§impl Clone for GetRecommendationPreferencesOutputBuilder
impl Clone for GetRecommendationPreferencesOutputBuilder
source§fn clone(&self) -> GetRecommendationPreferencesOutputBuilder
fn clone(&self) -> GetRecommendationPreferencesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRecommendationPreferencesOutputBuilder
impl Default for GetRecommendationPreferencesOutputBuilder
source§fn default() -> GetRecommendationPreferencesOutputBuilder
fn default() -> GetRecommendationPreferencesOutputBuilder
source§impl PartialEq for GetRecommendationPreferencesOutputBuilder
impl PartialEq for GetRecommendationPreferencesOutputBuilder
source§fn eq(&self, other: &GetRecommendationPreferencesOutputBuilder) -> bool
fn eq(&self, other: &GetRecommendationPreferencesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.