Struct aws_sdk_codecommit::operation::list_pull_requests::builders::ListPullRequestsFluentBuilder
source · pub struct ListPullRequestsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListPullRequests
.
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
Implementations§
source§impl ListPullRequestsFluentBuilder
impl ListPullRequestsFluentBuilder
sourcepub fn as_input(&self) -> &ListPullRequestsInputBuilder
pub fn as_input(&self) -> &ListPullRequestsInputBuilder
Access the ListPullRequests as a reference.
sourcepub async fn send(
self
) -> Result<ListPullRequestsOutput, SdkError<ListPullRequestsError, HttpResponse>>
pub async fn send( self ) -> Result<ListPullRequestsOutput, SdkError<ListPullRequestsError, 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<ListPullRequestsOutput, ListPullRequestsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListPullRequestsOutput, ListPullRequestsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListPullRequestsPaginator
pub fn into_paginator(self) -> ListPullRequestsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository for which you want to list pull requests.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository for which you want to list pull requests.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository for which you want to list pull requests.
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
sourcepub fn pull_request_status(self, input: PullRequestStatusEnum) -> Self
pub fn pull_request_status(self, input: PullRequestStatusEnum) -> Self
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
sourcepub fn set_pull_request_status(
self,
input: Option<PullRequestStatusEnum>
) -> Self
pub fn set_pull_request_status( self, input: Option<PullRequestStatusEnum> ) -> Self
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
sourcepub fn get_pull_request_status(&self) -> &Option<PullRequestStatusEnum>
pub fn get_pull_request_status(&self) -> &Option<PullRequestStatusEnum>
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
A non-zero, non-negative integer used to limit the number of returned results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
A non-zero, non-negative integer used to limit the number of returned results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
A non-zero, non-negative integer used to limit the number of returned results.
Trait Implementations§
source§impl Clone for ListPullRequestsFluentBuilder
impl Clone for ListPullRequestsFluentBuilder
source§fn clone(&self) -> ListPullRequestsFluentBuilder
fn clone(&self) -> ListPullRequestsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more