Struct aws_sdk_codecommit::operation::list_pull_requests::builders::ListPullRequestsOutputBuilder
source · #[non_exhaustive]pub struct ListPullRequestsOutputBuilder { /* private fields */ }Expand description
A builder for ListPullRequestsOutput.
Implementations§
source§impl ListPullRequestsOutputBuilder
impl ListPullRequestsOutputBuilder
sourcepub fn pull_request_ids(self, input: impl Into<String>) -> Self
pub fn pull_request_ids(self, input: impl Into<String>) -> Self
Appends an item to pull_request_ids.
To override the contents of this collection use set_pull_request_ids.
The system-generated IDs of the pull requests.
sourcepub fn set_pull_request_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_pull_request_ids(self, input: Option<Vec<String>>) -> Self
The system-generated IDs of the pull requests.
sourcepub fn get_pull_request_ids(&self) -> &Option<Vec<String>>
pub fn get_pull_request_ids(&self) -> &Option<Vec<String>>
The system-generated IDs of the pull requests.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An enumeration token that allows the operation to batch the next results of the operation.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that allows the operation to batch the next results of the operation.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that allows the operation to batch the next results of the operation.
sourcepub fn build(self) -> Result<ListPullRequestsOutput, BuildError>
pub fn build(self) -> Result<ListPullRequestsOutput, BuildError>
Consumes the builder and constructs a ListPullRequestsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListPullRequestsOutputBuilder
impl Clone for ListPullRequestsOutputBuilder
source§fn clone(&self) -> ListPullRequestsOutputBuilder
fn clone(&self) -> ListPullRequestsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ListPullRequestsOutputBuilder
impl Default for ListPullRequestsOutputBuilder
source§fn default() -> ListPullRequestsOutputBuilder
fn default() -> ListPullRequestsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPullRequestsOutputBuilder
impl PartialEq for ListPullRequestsOutputBuilder
source§fn eq(&self, other: &ListPullRequestsOutputBuilder) -> bool
fn eq(&self, other: &ListPullRequestsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPullRequestsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPullRequestsOutputBuilder
impl RefUnwindSafe for ListPullRequestsOutputBuilder
impl Send for ListPullRequestsOutputBuilder
impl Sync for ListPullRequestsOutputBuilder
impl Unpin for ListPullRequestsOutputBuilder
impl UnwindSafe for ListPullRequestsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.