#[non_exhaustive]pub struct InputConfigurationBuilder { /* private fields */ }Expand description
A builder for InputConfiguration.
Implementations§
source§impl InputConfigurationBuilder
impl InputConfigurationBuilder
sourcepub fn input_ip(self, input: impl Into<String>) -> Self
pub fn input_ip(self, input: impl Into<String>) -> Self
The IP address that the flow listens on for incoming content for a media stream. This field is required.
sourcepub fn set_input_ip(self, input: Option<String>) -> Self
pub fn set_input_ip(self, input: Option<String>) -> Self
The IP address that the flow listens on for incoming content for a media stream.
sourcepub fn get_input_ip(&self) -> &Option<String>
pub fn get_input_ip(&self) -> &Option<String>
The IP address that the flow listens on for incoming content for a media stream.
sourcepub fn input_port(self, input: i32) -> Self
pub fn input_port(self, input: i32) -> Self
The port that the flow listens on for an incoming media stream. This field is required.
sourcepub fn set_input_port(self, input: Option<i32>) -> Self
pub fn set_input_port(self, input: Option<i32>) -> Self
The port that the flow listens on for an incoming media stream.
sourcepub fn get_input_port(&self) -> &Option<i32>
pub fn get_input_port(&self) -> &Option<i32>
The port that the flow listens on for an incoming media stream.
sourcepub fn interface(self, input: Interface) -> Self
pub fn interface(self, input: Interface) -> Self
The VPC interface where the media stream comes in from. This field is required.
sourcepub fn set_interface(self, input: Option<Interface>) -> Self
pub fn set_interface(self, input: Option<Interface>) -> Self
The VPC interface where the media stream comes in from.
sourcepub fn get_interface(&self) -> &Option<Interface>
pub fn get_interface(&self) -> &Option<Interface>
The VPC interface where the media stream comes in from.
sourcepub fn build(self) -> InputConfiguration
pub fn build(self) -> InputConfiguration
Consumes the builder and constructs a InputConfiguration.
Trait Implementations§
source§impl Clone for InputConfigurationBuilder
impl Clone for InputConfigurationBuilder
source§fn clone(&self) -> InputConfigurationBuilder
fn clone(&self) -> InputConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InputConfigurationBuilder
impl Debug for InputConfigurationBuilder
source§impl Default for InputConfigurationBuilder
impl Default for InputConfigurationBuilder
source§fn default() -> InputConfigurationBuilder
fn default() -> InputConfigurationBuilder
source§impl PartialEq for InputConfigurationBuilder
impl PartialEq for InputConfigurationBuilder
source§fn eq(&self, other: &InputConfigurationBuilder) -> bool
fn eq(&self, other: &InputConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.