Struct aws_sdk_mediaconnect::operation::update_flow_entitlement::builders::UpdateFlowEntitlementInputBuilder
source · #[non_exhaustive]pub struct UpdateFlowEntitlementInputBuilder { /* private fields */ }
Expand description
A builder for UpdateFlowEntitlementInput
.
Implementations§
source§impl UpdateFlowEntitlementInputBuilder
impl UpdateFlowEntitlementInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the entitlement. This description appears only on the AWS Elemental MediaConnect console and will not be seen by the subscriber or end user.
sourcepub fn encryption(self, input: UpdateEncryption) -> Self
pub fn encryption(self, input: UpdateEncryption) -> Self
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
sourcepub fn set_encryption(self, input: Option<UpdateEncryption>) -> Self
pub fn set_encryption(self, input: Option<UpdateEncryption>) -> Self
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
sourcepub fn get_encryption(&self) -> &Option<UpdateEncryption>
pub fn get_encryption(&self) -> &Option<UpdateEncryption>
The type of encryption that will be used on the output associated with this entitlement. Allowable encryption types: static-key, speke.
sourcepub fn entitlement_arn(self, input: impl Into<String>) -> Self
pub fn entitlement_arn(self, input: impl Into<String>) -> Self
The ARN of the entitlement that you want to update. This field is required.
sourcepub fn set_entitlement_arn(self, input: Option<String>) -> Self
pub fn set_entitlement_arn(self, input: Option<String>) -> Self
The ARN of the entitlement that you want to update.
sourcepub fn get_entitlement_arn(&self) -> &Option<String>
pub fn get_entitlement_arn(&self) -> &Option<String>
The ARN of the entitlement that you want to update.
sourcepub fn entitlement_status(self, input: EntitlementStatus) -> Self
pub fn entitlement_status(self, input: EntitlementStatus) -> Self
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
sourcepub fn set_entitlement_status(self, input: Option<EntitlementStatus>) -> Self
pub fn set_entitlement_status(self, input: Option<EntitlementStatus>) -> Self
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
sourcepub fn get_entitlement_status(&self) -> &Option<EntitlementStatus>
pub fn get_entitlement_status(&self) -> &Option<EntitlementStatus>
An indication of whether you want to enable the entitlement to allow access, or disable it to stop streaming content to the subscriber’s flow temporarily. If you don’t specify the entitlementStatus field in your request, MediaConnect leaves the value unchanged.
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The flow that is associated with the entitlement that you want to update. This field is required.
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The flow that is associated with the entitlement that you want to update.
sourcepub fn get_flow_arn(&self) -> &Option<String>
pub fn get_flow_arn(&self) -> &Option<String>
The flow that is associated with the entitlement that you want to update.
sourcepub fn subscribers(self, input: impl Into<String>) -> Self
pub fn subscribers(self, input: impl Into<String>) -> Self
Appends an item to subscribers
.
To override the contents of this collection use set_subscribers
.
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
sourcepub fn set_subscribers(self, input: Option<Vec<String>>) -> Self
pub fn set_subscribers(self, input: Option<Vec<String>>) -> Self
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
sourcepub fn get_subscribers(&self) -> &Option<Vec<String>>
pub fn get_subscribers(&self) -> &Option<Vec<String>>
The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.
sourcepub fn build(self) -> Result<UpdateFlowEntitlementInput, BuildError>
pub fn build(self) -> Result<UpdateFlowEntitlementInput, BuildError>
Consumes the builder and constructs a UpdateFlowEntitlementInput
.
source§impl UpdateFlowEntitlementInputBuilder
impl UpdateFlowEntitlementInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateFlowEntitlementOutput, SdkError<UpdateFlowEntitlementError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateFlowEntitlementOutput, SdkError<UpdateFlowEntitlementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFlowEntitlementInputBuilder
impl Clone for UpdateFlowEntitlementInputBuilder
source§fn clone(&self) -> UpdateFlowEntitlementInputBuilder
fn clone(&self) -> UpdateFlowEntitlementInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateFlowEntitlementInputBuilder
impl Default for UpdateFlowEntitlementInputBuilder
source§fn default() -> UpdateFlowEntitlementInputBuilder
fn default() -> UpdateFlowEntitlementInputBuilder
source§impl PartialEq for UpdateFlowEntitlementInputBuilder
impl PartialEq for UpdateFlowEntitlementInputBuilder
source§fn eq(&self, other: &UpdateFlowEntitlementInputBuilder) -> bool
fn eq(&self, other: &UpdateFlowEntitlementInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFlowEntitlementInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFlowEntitlementInputBuilder
impl RefUnwindSafe for UpdateFlowEntitlementInputBuilder
impl Send for UpdateFlowEntitlementInputBuilder
impl Sync for UpdateFlowEntitlementInputBuilder
impl Unpin for UpdateFlowEntitlementInputBuilder
impl UnwindSafe for UpdateFlowEntitlementInputBuilder
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