Struct aws_sdk_mediaconnect::types::builders::OutputBuilder
source · #[non_exhaustive]pub struct OutputBuilder { /* private fields */ }
Expand description
A builder for Output
.
Implementations§
source§impl OutputBuilder
impl OutputBuilder
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 output.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the output.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the output.
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The address where you want to send the output.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The address where you want to send the output.
sourcepub fn get_destination(&self) -> &Option<String>
pub fn get_destination(&self) -> &Option<String>
The address where you want to send the output.
sourcepub fn encryption(self, input: Encryption) -> Self
pub fn encryption(self, input: Encryption) -> Self
The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
sourcepub fn set_encryption(self, input: Option<Encryption>) -> Self
pub fn set_encryption(self, input: Option<Encryption>) -> Self
The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
sourcepub fn get_encryption(&self) -> &Option<Encryption>
pub fn get_encryption(&self) -> &Option<Encryption>
The type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
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 on the originator’’s flow. This value is relevant only on entitled flows.
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 on the originator’’s flow. This value is relevant only on entitled flows.
sourcepub fn get_entitlement_arn(&self) -> &Option<String>
pub fn get_entitlement_arn(&self) -> &Option<String>
The ARN of the entitlement on the originator’’s flow. This value is relevant only on entitled flows.
sourcepub fn listener_address(self, input: impl Into<String>) -> Self
pub fn listener_address(self, input: impl Into<String>) -> Self
The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.
sourcepub fn set_listener_address(self, input: Option<String>) -> Self
pub fn set_listener_address(self, input: Option<String>) -> Self
The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.
sourcepub fn get_listener_address(&self) -> &Option<String>
pub fn get_listener_address(&self) -> &Option<String>
The IP address that the receiver requires in order to establish a connection with the flow. For public networking, the ListenerAddress is represented by the elastic IP address of the flow. For private networking, the ListenerAddress is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the Zixi pull or SRT listener protocol.
sourcepub fn media_live_input_arn(self, input: impl Into<String>) -> Self
pub fn media_live_input_arn(self, input: impl Into<String>) -> Self
The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.
sourcepub fn set_media_live_input_arn(self, input: Option<String>) -> Self
pub fn set_media_live_input_arn(self, input: Option<String>) -> Self
The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.
sourcepub fn get_media_live_input_arn(&self) -> &Option<String>
pub fn get_media_live_input_arn(&self) -> &Option<String>
The input ARN of the AWS Elemental MediaLive channel. This parameter is relevant only for outputs that were added by creating a MediaLive input.
sourcepub fn media_stream_output_configurations(
self,
input: MediaStreamOutputConfiguration,
) -> Self
pub fn media_stream_output_configurations( self, input: MediaStreamOutputConfiguration, ) -> Self
Appends an item to media_stream_output_configurations
.
To override the contents of this collection use set_media_stream_output_configurations
.
The configuration for each media stream that is associated with the output.
sourcepub fn set_media_stream_output_configurations(
self,
input: Option<Vec<MediaStreamOutputConfiguration>>,
) -> Self
pub fn set_media_stream_output_configurations( self, input: Option<Vec<MediaStreamOutputConfiguration>>, ) -> Self
The configuration for each media stream that is associated with the output.
sourcepub fn get_media_stream_output_configurations(
&self,
) -> &Option<Vec<MediaStreamOutputConfiguration>>
pub fn get_media_stream_output_configurations( &self, ) -> &Option<Vec<MediaStreamOutputConfiguration>>
The configuration for each media stream that is associated with the output.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the output. This value must be unique within the current flow. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the output. This value must be unique within the current flow.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the output. This value must be unique within the current flow.
sourcepub fn output_arn(self, input: impl Into<String>) -> Self
pub fn output_arn(self, input: impl Into<String>) -> Self
The ARN of the output. This field is required.
sourcepub fn set_output_arn(self, input: Option<String>) -> Self
pub fn set_output_arn(self, input: Option<String>) -> Self
The ARN of the output.
sourcepub fn get_output_arn(&self) -> &Option<String>
pub fn get_output_arn(&self) -> &Option<String>
The ARN of the output.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port to use when content is distributed to this output.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port to use when content is distributed to this output.
sourcepub fn get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
The port to use when content is distributed to this output.
sourcepub fn transport(self, input: Transport) -> Self
pub fn transport(self, input: Transport) -> Self
Attributes related to the transport stream that are used in the output.
sourcepub fn set_transport(self, input: Option<Transport>) -> Self
pub fn set_transport(self, input: Option<Transport>) -> Self
Attributes related to the transport stream that are used in the output.
sourcepub fn get_transport(&self) -> &Option<Transport>
pub fn get_transport(&self) -> &Option<Transport>
Attributes related to the transport stream that are used in the output.
sourcepub fn vpc_interface_attachment(self, input: VpcInterfaceAttachment) -> Self
pub fn vpc_interface_attachment(self, input: VpcInterfaceAttachment) -> Self
The name of the VPC interface attachment to use for this output.
sourcepub fn set_vpc_interface_attachment(
self,
input: Option<VpcInterfaceAttachment>,
) -> Self
pub fn set_vpc_interface_attachment( self, input: Option<VpcInterfaceAttachment>, ) -> Self
The name of the VPC interface attachment to use for this output.
sourcepub fn get_vpc_interface_attachment(&self) -> &Option<VpcInterfaceAttachment>
pub fn get_vpc_interface_attachment(&self) -> &Option<VpcInterfaceAttachment>
The name of the VPC interface attachment to use for this output.
sourcepub fn bridge_arn(self, input: impl Into<String>) -> Self
pub fn bridge_arn(self, input: impl Into<String>) -> Self
The ARN of the bridge that added this output.
sourcepub fn set_bridge_arn(self, input: Option<String>) -> Self
pub fn set_bridge_arn(self, input: Option<String>) -> Self
The ARN of the bridge that added this output.
sourcepub fn get_bridge_arn(&self) -> &Option<String>
pub fn get_bridge_arn(&self) -> &Option<String>
The ARN of the bridge that added this output.
sourcepub fn bridge_ports(self, input: i32) -> Self
pub fn bridge_ports(self, input: i32) -> Self
Appends an item to bridge_ports
.
To override the contents of this collection use set_bridge_ports
.
The bridge output ports currently in use.
sourcepub fn set_bridge_ports(self, input: Option<Vec<i32>>) -> Self
pub fn set_bridge_ports(self, input: Option<Vec<i32>>) -> Self
The bridge output ports currently in use.
sourcepub fn get_bridge_ports(&self) -> &Option<Vec<i32>>
pub fn get_bridge_ports(&self) -> &Option<Vec<i32>>
The bridge output ports currently in use.
Trait Implementations§
source§impl Clone for OutputBuilder
impl Clone for OutputBuilder
source§fn clone(&self) -> OutputBuilder
fn clone(&self) -> OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutputBuilder
impl Debug for OutputBuilder
source§impl Default for OutputBuilder
impl Default for OutputBuilder
source§fn default() -> OutputBuilder
fn default() -> OutputBuilder
source§impl PartialEq for OutputBuilder
impl PartialEq for OutputBuilder
source§fn eq(&self, other: &OutputBuilder) -> bool
fn eq(&self, other: &OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputBuilder
Auto Trait Implementations§
impl Freeze for OutputBuilder
impl RefUnwindSafe for OutputBuilder
impl Send for OutputBuilder
impl Sync for OutputBuilder
impl Unpin for OutputBuilder
impl UnwindSafe for OutputBuilder
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