Struct aws_sdk_codecommit::operation::list_pull_requests::builders::ListPullRequestsInputBuilder
source · #[non_exhaustive]pub struct ListPullRequestsInputBuilder { /* private fields */ }
Expand description
A builder for ListPullRequestsInput
.
Implementations§
source§impl ListPullRequestsInputBuilder
impl ListPullRequestsInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<ListPullRequestsInput, BuildError>
pub fn build(self) -> Result<ListPullRequestsInput, BuildError>
Consumes the builder and constructs a ListPullRequestsInput
.
source§impl ListPullRequestsInputBuilder
impl ListPullRequestsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPullRequestsOutput, SdkError<ListPullRequestsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPullRequestsOutput, SdkError<ListPullRequestsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPullRequestsInputBuilder
impl Clone for ListPullRequestsInputBuilder
source§fn clone(&self) -> ListPullRequestsInputBuilder
fn clone(&self) -> ListPullRequestsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListPullRequestsInputBuilder
impl Debug for ListPullRequestsInputBuilder
source§impl Default for ListPullRequestsInputBuilder
impl Default for ListPullRequestsInputBuilder
source§fn default() -> ListPullRequestsInputBuilder
fn default() -> ListPullRequestsInputBuilder
source§impl PartialEq for ListPullRequestsInputBuilder
impl PartialEq for ListPullRequestsInputBuilder
source§fn eq(&self, other: &ListPullRequestsInputBuilder) -> bool
fn eq(&self, other: &ListPullRequestsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.