Struct aws_sdk_mediaconnect::operation::list_offerings::builders::ListOfferingsOutputBuilder
source · #[non_exhaustive]pub struct ListOfferingsOutputBuilder { /* private fields */ }
Expand description
A builder for ListOfferingsOutput
.
Implementations§
source§impl ListOfferingsOutputBuilder
impl ListOfferingsOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
sourcepub fn offerings(self, input: Offering) -> Self
pub fn offerings(self, input: Offering) -> Self
Appends an item to offerings
.
To override the contents of this collection use set_offerings
.
A list of offerings that are available to this account in the current AWS Region.
sourcepub fn set_offerings(self, input: Option<Vec<Offering>>) -> Self
pub fn set_offerings(self, input: Option<Vec<Offering>>) -> Self
A list of offerings that are available to this account in the current AWS Region.
sourcepub fn get_offerings(&self) -> &Option<Vec<Offering>>
pub fn get_offerings(&self) -> &Option<Vec<Offering>>
A list of offerings that are available to this account in the current AWS Region.
sourcepub fn build(self) -> ListOfferingsOutput
pub fn build(self) -> ListOfferingsOutput
Consumes the builder and constructs a ListOfferingsOutput
.
Trait Implementations§
source§impl Clone for ListOfferingsOutputBuilder
impl Clone for ListOfferingsOutputBuilder
source§fn clone(&self) -> ListOfferingsOutputBuilder
fn clone(&self) -> ListOfferingsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListOfferingsOutputBuilder
impl Debug for ListOfferingsOutputBuilder
source§impl Default for ListOfferingsOutputBuilder
impl Default for ListOfferingsOutputBuilder
source§fn default() -> ListOfferingsOutputBuilder
fn default() -> ListOfferingsOutputBuilder
source§impl PartialEq for ListOfferingsOutputBuilder
impl PartialEq for ListOfferingsOutputBuilder
source§fn eq(&self, other: &ListOfferingsOutputBuilder) -> bool
fn eq(&self, other: &ListOfferingsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListOfferingsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListOfferingsOutputBuilder
impl RefUnwindSafe for ListOfferingsOutputBuilder
impl Send for ListOfferingsOutputBuilder
impl Sync for ListOfferingsOutputBuilder
impl Unpin for ListOfferingsOutputBuilder
impl UnwindSafe for ListOfferingsOutputBuilder
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