Struct aws_sdk_mediaconnect::operation::grant_flow_entitlements::builders::GrantFlowEntitlementsOutputBuilder
source · #[non_exhaustive]pub struct GrantFlowEntitlementsOutputBuilder { /* private fields */ }
Expand description
A builder for GrantFlowEntitlementsOutput
.
Implementations§
source§impl GrantFlowEntitlementsOutputBuilder
impl GrantFlowEntitlementsOutputBuilder
sourcepub fn entitlements(self, input: Entitlement) -> Self
pub fn entitlements(self, input: Entitlement) -> Self
Appends an item to entitlements
.
To override the contents of this collection use set_entitlements
.
The entitlements that were just granted.
sourcepub fn set_entitlements(self, input: Option<Vec<Entitlement>>) -> Self
pub fn set_entitlements(self, input: Option<Vec<Entitlement>>) -> Self
The entitlements that were just granted.
sourcepub fn get_entitlements(&self) -> &Option<Vec<Entitlement>>
pub fn get_entitlements(&self) -> &Option<Vec<Entitlement>>
The entitlements that were just granted.
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The ARN of the flow that these entitlements were granted to.
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The ARN of the flow that these entitlements were granted to.
sourcepub fn get_flow_arn(&self) -> &Option<String>
pub fn get_flow_arn(&self) -> &Option<String>
The ARN of the flow that these entitlements were granted to.
sourcepub fn build(self) -> GrantFlowEntitlementsOutput
pub fn build(self) -> GrantFlowEntitlementsOutput
Consumes the builder and constructs a GrantFlowEntitlementsOutput
.
Trait Implementations§
source§impl Clone for GrantFlowEntitlementsOutputBuilder
impl Clone for GrantFlowEntitlementsOutputBuilder
source§fn clone(&self) -> GrantFlowEntitlementsOutputBuilder
fn clone(&self) -> GrantFlowEntitlementsOutputBuilder
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 GrantFlowEntitlementsOutputBuilder
impl Default for GrantFlowEntitlementsOutputBuilder
source§fn default() -> GrantFlowEntitlementsOutputBuilder
fn default() -> GrantFlowEntitlementsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GrantFlowEntitlementsOutputBuilder
impl PartialEq for GrantFlowEntitlementsOutputBuilder
source§fn eq(&self, other: &GrantFlowEntitlementsOutputBuilder) -> bool
fn eq(&self, other: &GrantFlowEntitlementsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GrantFlowEntitlementsOutputBuilder
Auto Trait Implementations§
impl Freeze for GrantFlowEntitlementsOutputBuilder
impl RefUnwindSafe for GrantFlowEntitlementsOutputBuilder
impl Send for GrantFlowEntitlementsOutputBuilder
impl Sync for GrantFlowEntitlementsOutputBuilder
impl Unpin for GrantFlowEntitlementsOutputBuilder
impl UnwindSafe for GrantFlowEntitlementsOutputBuilder
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.