Struct aws_sdk_mediaconnect::types::builders::EntitlementBuilder
source · #[non_exhaustive]pub struct EntitlementBuilder { /* private fields */ }
Expand description
A builder for Entitlement
.
Implementations§
source§impl EntitlementBuilder
impl EntitlementBuilder
sourcepub fn data_transfer_subscriber_fee_percent(self, input: i32) -> Self
pub fn data_transfer_subscriber_fee_percent(self, input: i32) -> Self
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn set_data_transfer_subscriber_fee_percent(
self,
input: Option<i32>,
) -> Self
pub fn set_data_transfer_subscriber_fee_percent( self, input: Option<i32>, ) -> Self
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn get_data_transfer_subscriber_fee_percent(&self) -> &Option<i32>
pub fn get_data_transfer_subscriber_fee_percent(&self) -> &Option<i32>
Percentage from 0-100 of the data transfer cost to be billed to the subscriber.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the entitlement.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the entitlement.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the entitlement.
sourcepub fn encryption(self, input: Encryption) -> Self
pub fn encryption(self, input: Encryption) -> Self
The type of encryption that will be used on the output that is associated with this entitlement.
sourcepub fn set_encryption(self, input: Option<Encryption>) -> Self
pub fn set_encryption(self, input: Option<Encryption>) -> Self
The type of encryption that will be used on the output that is associated with this entitlement.
sourcepub fn get_encryption(&self) -> &Option<Encryption>
pub fn get_encryption(&self) -> &Option<Encryption>
The type of encryption that will be used on the output that is associated with this entitlement.
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. 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.
sourcepub fn get_entitlement_arn(&self) -> &Option<String>
pub fn get_entitlement_arn(&self) -> &Option<String>
The ARN of the entitlement.
sourcepub fn entitlement_status(self, input: EntitlementStatus) -> Self
pub fn entitlement_status(self, input: EntitlementStatus) -> Self
An indication of whether the entitlement is enabled.
sourcepub fn set_entitlement_status(self, input: Option<EntitlementStatus>) -> Self
pub fn set_entitlement_status(self, input: Option<EntitlementStatus>) -> Self
An indication of whether the entitlement is enabled.
sourcepub fn get_entitlement_status(&self) -> &Option<EntitlementStatus>
pub fn get_entitlement_status(&self) -> &Option<EntitlementStatus>
An indication of whether the entitlement is enabled.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the entitlement. This field is required.
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) -> Entitlement
pub fn build(self) -> Entitlement
Consumes the builder and constructs a Entitlement
.
Trait Implementations§
source§impl Clone for EntitlementBuilder
impl Clone for EntitlementBuilder
source§fn clone(&self) -> EntitlementBuilder
fn clone(&self) -> EntitlementBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntitlementBuilder
impl Debug for EntitlementBuilder
source§impl Default for EntitlementBuilder
impl Default for EntitlementBuilder
source§fn default() -> EntitlementBuilder
fn default() -> EntitlementBuilder
source§impl PartialEq for EntitlementBuilder
impl PartialEq for EntitlementBuilder
source§fn eq(&self, other: &EntitlementBuilder) -> bool
fn eq(&self, other: &EntitlementBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntitlementBuilder
Auto Trait Implementations§
impl Freeze for EntitlementBuilder
impl RefUnwindSafe for EntitlementBuilder
impl Send for EntitlementBuilder
impl Sync for EntitlementBuilder
impl Unpin for EntitlementBuilder
impl UnwindSafe for EntitlementBuilder
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