Struct aws_sdk_databasemigration::operation::describe_recommendations::builders::DescribeRecommendationsInputBuilder
source · #[non_exhaustive]pub struct DescribeRecommendationsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeRecommendationsInput
.
Implementations§
source§impl DescribeRecommendationsInputBuilder
impl DescribeRecommendationsInputBuilder
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Filters applied to the target engine recommendations described in the form of key-value pairs.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
Filters applied to the target engine recommendations described in the form of key-value pairs.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
Filters applied to the target engine recommendations described in the form of key-value pairs.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
If NextToken
is returned by a previous response, there are more results available. The value of NextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn build(self) -> Result<DescribeRecommendationsInput, BuildError>
pub fn build(self) -> Result<DescribeRecommendationsInput, BuildError>
Consumes the builder and constructs a DescribeRecommendationsInput
.
source§impl DescribeRecommendationsInputBuilder
impl DescribeRecommendationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRecommendationsOutput, SdkError<DescribeRecommendationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRecommendationsOutput, SdkError<DescribeRecommendationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRecommendationsInputBuilder
impl Clone for DescribeRecommendationsInputBuilder
source§fn clone(&self) -> DescribeRecommendationsInputBuilder
fn clone(&self) -> DescribeRecommendationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeRecommendationsInputBuilder
impl Default for DescribeRecommendationsInputBuilder
source§fn default() -> DescribeRecommendationsInputBuilder
fn default() -> DescribeRecommendationsInputBuilder
source§impl PartialEq for DescribeRecommendationsInputBuilder
impl PartialEq for DescribeRecommendationsInputBuilder
source§fn eq(&self, other: &DescribeRecommendationsInputBuilder) -> bool
fn eq(&self, other: &DescribeRecommendationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.