Struct aws_sdk_databasemigration::operation::describe_recommendations::builders::DescribeRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct DescribeRecommendationsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeRecommendationsOutput
.
Implementations§
source§impl DescribeRecommendationsOutputBuilder
impl DescribeRecommendationsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the MaxRecords
value. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the MaxRecords
value. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The unique pagination token returned for you to pass to a subsequent request. Fleet Advisor returns this token when the number of records in the response is greater than the MaxRecords
value. To retrieve the next page, make the call again using the returned token and keeping all other arguments unchanged.
sourcepub fn recommendations(self, input: Recommendation) -> Self
pub fn recommendations(self, input: Recommendation) -> Self
Appends an item to recommendations
.
To override the contents of this collection use set_recommendations
.
The list of recommendations of target engines that Fleet Advisor created for the source database.
sourcepub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
The list of recommendations of target engines that Fleet Advisor created for the source database.
sourcepub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
pub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
The list of recommendations of target engines that Fleet Advisor created for the source database.
sourcepub fn build(self) -> DescribeRecommendationsOutput
pub fn build(self) -> DescribeRecommendationsOutput
Consumes the builder and constructs a DescribeRecommendationsOutput
.
Trait Implementations§
source§impl Clone for DescribeRecommendationsOutputBuilder
impl Clone for DescribeRecommendationsOutputBuilder
source§fn clone(&self) -> DescribeRecommendationsOutputBuilder
fn clone(&self) -> DescribeRecommendationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeRecommendationsOutputBuilder
impl Default for DescribeRecommendationsOutputBuilder
source§fn default() -> DescribeRecommendationsOutputBuilder
fn default() -> DescribeRecommendationsOutputBuilder
source§impl PartialEq for DescribeRecommendationsOutputBuilder
impl PartialEq for DescribeRecommendationsOutputBuilder
source§fn eq(&self, other: &DescribeRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &DescribeRecommendationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.