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