Struct aws_sdk_ivs::operation::list_playback_restriction_policies::builders::ListPlaybackRestrictionPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListPlaybackRestrictionPoliciesOutputBuilder { /* private fields */ }
Expand description
A builder for ListPlaybackRestrictionPoliciesOutput
.
Implementations§
source§impl ListPlaybackRestrictionPoliciesOutputBuilder
impl ListPlaybackRestrictionPoliciesOutputBuilder
sourcepub fn playback_restriction_policies(
self,
input: PlaybackRestrictionPolicySummary
) -> Self
pub fn playback_restriction_policies( self, input: PlaybackRestrictionPolicySummary ) -> Self
Appends an item to playback_restriction_policies
.
To override the contents of this collection use set_playback_restriction_policies
.
List of the matching policies.
sourcepub fn set_playback_restriction_policies(
self,
input: Option<Vec<PlaybackRestrictionPolicySummary>>
) -> Self
pub fn set_playback_restriction_policies( self, input: Option<Vec<PlaybackRestrictionPolicySummary>> ) -> Self
List of the matching policies.
sourcepub fn get_playback_restriction_policies(
&self
) -> &Option<Vec<PlaybackRestrictionPolicySummary>>
pub fn get_playback_restriction_policies( &self ) -> &Option<Vec<PlaybackRestrictionPolicySummary>>
List of the matching policies.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are more channels than maxResults
, use nextToken
in the request to get the next set.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are more channels than maxResults
, use nextToken
in the request to get the next set.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are more channels than maxResults
, use nextToken
in the request to get the next set.
sourcepub fn build(self) -> Result<ListPlaybackRestrictionPoliciesOutput, BuildError>
pub fn build(self) -> Result<ListPlaybackRestrictionPoliciesOutput, BuildError>
Consumes the builder and constructs a ListPlaybackRestrictionPoliciesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListPlaybackRestrictionPoliciesOutputBuilder
impl Clone for ListPlaybackRestrictionPoliciesOutputBuilder
source§fn clone(&self) -> ListPlaybackRestrictionPoliciesOutputBuilder
fn clone(&self) -> ListPlaybackRestrictionPoliciesOutputBuilder
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 ListPlaybackRestrictionPoliciesOutputBuilder
impl Default for ListPlaybackRestrictionPoliciesOutputBuilder
source§fn default() -> ListPlaybackRestrictionPoliciesOutputBuilder
fn default() -> ListPlaybackRestrictionPoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPlaybackRestrictionPoliciesOutputBuilder
impl PartialEq for ListPlaybackRestrictionPoliciesOutputBuilder
source§fn eq(&self, other: &ListPlaybackRestrictionPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListPlaybackRestrictionPoliciesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPlaybackRestrictionPoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPlaybackRestrictionPoliciesOutputBuilder
impl RefUnwindSafe for ListPlaybackRestrictionPoliciesOutputBuilder
impl Send for ListPlaybackRestrictionPoliciesOutputBuilder
impl Sync for ListPlaybackRestrictionPoliciesOutputBuilder
impl Unpin for ListPlaybackRestrictionPoliciesOutputBuilder
impl UnwindSafe for ListPlaybackRestrictionPoliciesOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.