Struct aws_sdk_mediaconnect::operation::update_flow_entitlement::builders::UpdateFlowEntitlementFluentBuilder
source · pub struct UpdateFlowEntitlementFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateFlowEntitlement
.
You can change an entitlement’s description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.
Implementations§
source§impl UpdateFlowEntitlementFluentBuilder
impl UpdateFlowEntitlementFluentBuilder
sourcepub fn as_input(&self) -> &UpdateFlowEntitlementInputBuilder
pub fn as_input(&self) -> &UpdateFlowEntitlementInputBuilder
Access the UpdateFlowEntitlement as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateFlowEntitlementOutput, SdkError<UpdateFlowEntitlementError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateFlowEntitlementOutput, SdkError<UpdateFlowEntitlementError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateFlowEntitlementOutput, UpdateFlowEntitlementError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateFlowEntitlementOutput, UpdateFlowEntitlementError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for UpdateFlowEntitlementFluentBuilder
impl Clone for UpdateFlowEntitlementFluentBuilder
source§fn clone(&self) -> UpdateFlowEntitlementFluentBuilder
fn clone(&self) -> UpdateFlowEntitlementFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateFlowEntitlementFluentBuilder
impl !RefUnwindSafe for UpdateFlowEntitlementFluentBuilder
impl Send for UpdateFlowEntitlementFluentBuilder
impl Sync for UpdateFlowEntitlementFluentBuilder
impl Unpin for UpdateFlowEntitlementFluentBuilder
impl !UnwindSafe for UpdateFlowEntitlementFluentBuilder
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