Struct aws_sdk_codegurureviewer::operation::list_recommendations::builders::ListRecommendationsFluentBuilder
source · pub struct ListRecommendationsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListRecommendations.
Returns the list of all recommendations for a completed code review.
Implementations§
source§impl ListRecommendationsFluentBuilder
impl ListRecommendationsFluentBuilder
sourcepub fn as_input(&self) -> &ListRecommendationsInputBuilder
pub fn as_input(&self) -> &ListRecommendationsInputBuilder
Access the ListRecommendations as a reference.
sourcepub async fn send(
self
) -> Result<ListRecommendationsOutput, SdkError<ListRecommendationsError, HttpResponse>>
pub async fn send( self ) -> Result<ListRecommendationsOutput, SdkError<ListRecommendationsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListRecommendationsOutput, ListRecommendationsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListRecommendationsOutput, ListRecommendationsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListRecommendationsPaginator
pub fn into_paginator(self) -> ListRecommendationsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results that are returned per call. The default is 100.
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 that are returned per call. The default is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results that are returned per call. The default is 100.
sourcepub fn code_review_arn(self, input: impl Into<String>) -> Self
pub fn code_review_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn set_code_review_arn(self, input: Option<String>) -> Self
pub fn set_code_review_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn get_code_review_arn(&self) -> &Option<String>
pub fn get_code_review_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the CodeReview object.
Trait Implementations§
source§impl Clone for ListRecommendationsFluentBuilder
impl Clone for ListRecommendationsFluentBuilder
source§fn clone(&self) -> ListRecommendationsFluentBuilder
fn clone(&self) -> ListRecommendationsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more