Struct aws_sdk_mediaconnect::operation::list_reservations::builders::ListReservationsOutputBuilder
source · #[non_exhaustive]pub struct ListReservationsOutputBuilder { /* private fields */ }
Expand description
A builder for ListReservationsOutput
.
Implementations§
source§impl ListReservationsOutputBuilder
impl ListReservationsOutputBuilder
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 ListReservations 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 ListReservations 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 ListReservations 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 ListReservations 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 ListReservations 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 ListReservations request a second time and specify the NextToken value.
sourcepub fn reservations(self, input: Reservation) -> Self
pub fn reservations(self, input: Reservation) -> Self
Appends an item to reservations
.
To override the contents of this collection use set_reservations
.
A list of all reservations that have been purchased by this account in the current AWS Region.
sourcepub fn set_reservations(self, input: Option<Vec<Reservation>>) -> Self
pub fn set_reservations(self, input: Option<Vec<Reservation>>) -> Self
A list of all reservations that have been purchased by this account in the current AWS Region.
sourcepub fn get_reservations(&self) -> &Option<Vec<Reservation>>
pub fn get_reservations(&self) -> &Option<Vec<Reservation>>
A list of all reservations that have been purchased by this account in the current AWS Region.
sourcepub fn build(self) -> ListReservationsOutput
pub fn build(self) -> ListReservationsOutput
Consumes the builder and constructs a ListReservationsOutput
.
Trait Implementations§
source§impl Clone for ListReservationsOutputBuilder
impl Clone for ListReservationsOutputBuilder
source§fn clone(&self) -> ListReservationsOutputBuilder
fn clone(&self) -> ListReservationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListReservationsOutputBuilder
impl Default for ListReservationsOutputBuilder
source§fn default() -> ListReservationsOutputBuilder
fn default() -> ListReservationsOutputBuilder
source§impl PartialEq for ListReservationsOutputBuilder
impl PartialEq for ListReservationsOutputBuilder
source§fn eq(&self, other: &ListReservationsOutputBuilder) -> bool
fn eq(&self, other: &ListReservationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListReservationsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListReservationsOutputBuilder
impl RefUnwindSafe for ListReservationsOutputBuilder
impl Send for ListReservationsOutputBuilder
impl Sync for ListReservationsOutputBuilder
impl Unpin for ListReservationsOutputBuilder
impl UnwindSafe for ListReservationsOutputBuilder
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