#[non_exhaustive]pub struct ListAgreementsOutputBuilder { /* private fields */ }
Expand description
A builder for ListAgreementsOutput
.
Implementations§
source§impl ListAgreementsOutputBuilder
impl ListAgreementsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Returns a token that you can use to call ListAgreements
again and receive additional results, if there are any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Returns a token that you can use to call ListAgreements
again and receive additional results, if there are any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Returns a token that you can use to call ListAgreements
again and receive additional results, if there are any.
sourcepub fn agreements(self, input: ListedAgreement) -> Self
pub fn agreements(self, input: ListedAgreement) -> Self
Appends an item to agreements
.
To override the contents of this collection use set_agreements
.
Returns an array, where each item contains the details of an agreement.
sourcepub fn set_agreements(self, input: Option<Vec<ListedAgreement>>) -> Self
pub fn set_agreements(self, input: Option<Vec<ListedAgreement>>) -> Self
Returns an array, where each item contains the details of an agreement.
sourcepub fn get_agreements(&self) -> &Option<Vec<ListedAgreement>>
pub fn get_agreements(&self) -> &Option<Vec<ListedAgreement>>
Returns an array, where each item contains the details of an agreement.
sourcepub fn build(self) -> Result<ListAgreementsOutput, BuildError>
pub fn build(self) -> Result<ListAgreementsOutput, BuildError>
Consumes the builder and constructs a ListAgreementsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListAgreementsOutputBuilder
impl Clone for ListAgreementsOutputBuilder
source§fn clone(&self) -> ListAgreementsOutputBuilder
fn clone(&self) -> ListAgreementsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAgreementsOutputBuilder
impl Debug for ListAgreementsOutputBuilder
source§impl Default for ListAgreementsOutputBuilder
impl Default for ListAgreementsOutputBuilder
source§fn default() -> ListAgreementsOutputBuilder
fn default() -> ListAgreementsOutputBuilder
source§impl PartialEq for ListAgreementsOutputBuilder
impl PartialEq for ListAgreementsOutputBuilder
source§fn eq(&self, other: &ListAgreementsOutputBuilder) -> bool
fn eq(&self, other: &ListAgreementsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAgreementsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListAgreementsOutputBuilder
impl RefUnwindSafe for ListAgreementsOutputBuilder
impl Send for ListAgreementsOutputBuilder
impl Sync for ListAgreementsOutputBuilder
impl Unpin for ListAgreementsOutputBuilder
impl UnwindSafe for ListAgreementsOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more